上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 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 阅读全文
posted @ 2017-08-31 16:20 天长地久-无为 阅读(170) 评论(0) 推荐(0) 编辑
摘要: When overriding the onPause() and the onResume() methods of the activity, where is the proper location to call the super.onPause() and super.onResume( 阅读全文
posted @ 2017-08-31 13:26 天长地久-无为 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-08-31 11:47 天长地久-无为 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 1. LinkedHashMap概述: LinkedHashMap是Map接口的哈希表和链接列表实现,具有可预知的迭代顺序。此实现提供所有可选的映射操作,并允许使用null值和null键。此类不保证映射的顺序,特别是它不保证该顺序恒久不变。 LinkedHashMap实现与HashMap的不同之处在 阅读全文
posted @ 2017-08-31 10:55 天长地久-无为 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-08-31 09:03 天长地久-无为 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 最近,笔者花了很多时间学习了一些Google官方推荐的RecycleView的用法,发现相比于原来的ListView,RecycleView的功能实在是太强大,很值得大家去学习一下。 基本的使用 我们就不讲如何导入包什么的了吧,我们直接进入主题。 xml <android.support.v7.wi 阅读全文
posted @ 2017-08-31 08:52 天长地久-无为 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-08-31 08:30 天长地久-无为 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-08-31 08:09 天长地久-无为 阅读(222) 评论(0) 推荐(0) 编辑
摘要: /** * Create drawable from a bitmap, setting initial target density based on * the display metrics of the resources. */public BitmapDrawable(Resources 阅读全文
posted @ 2017-08-30 17:52 天长地久-无为 阅读(130) 评论(0) 推荐(0) 编辑
摘要: https://www.captechconsulting.com/blogs/understanding-density-independence-in-android Background Android is a mobile operating system with very few li 阅读全文
posted @ 2017-08-30 17:43 天长地久-无为 阅读(259) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页