摘要:
it is so concise./** * Simple cache adapter interface. If provided to the ImageLoader, it * will be used as an L1 cache before dispatch to Volley. Imp 阅读全文
摘要:
When overriding the onPause() and the onResume() methods of the activity, where is the proper location to call the super.onPause() and super.onResume( 阅读全文
摘要:
In Activity life cycle we can go from onPause to onResume directly ,this can occur if our activity leaves the foreground but is still visible, i.e. a 阅读全文
摘要:
1. LinkedHashMap概述: LinkedHashMap是Map接口的哈希表和链接列表实现,具有可预知的迭代顺序。此实现提供所有可选的映射操作,并允许使用null值和null键。此类不保证映射的顺序,特别是它不保证该顺序恒久不变。 LinkedHashMap实现与HashMap的不同之处在 阅读全文
摘要:
1. Introduction At times, it is necessary to use native codes (C/C++) to overcome the memory management and performance constraints in Java. Java supp 阅读全文
摘要:
最近,笔者花了很多时间学习了一些Google官方推荐的RecycleView的用法,发现相比于原来的ListView,RecycleView的功能实在是太强大,很值得大家去学习一下。 基本的使用 我们就不讲如何导入包什么的了吧,我们直接进入主题。 xml <android.support.v7.wi 阅读全文
摘要:
added in API level 12 A cache that holds strong references to a limited number of values.Each time a value is accessed,it is moved to the headof a que 阅读全文
摘要:
Base class for activities that use the support library action bar features.You can add an ActionBar to your activity when running on API level 7 or hi 阅读全文