- 博客(5)
- 资源 (15)
- 收藏
- 关注
转载 墨菲定律
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.墨菲定律 “墨菲定律”(Murphy's Law)亦称莫非定律、莫非定理、或摩菲定理,是西方世界常用的俚语。
2014-12-28 23:00:50 582
转载 Fragment生命周期
官方文档中有详细的文字说明,不过最好还是实践下,熟悉过程。http://developer.android.com/guide/components/fragments.html一、Activity的生命周期图:二、Fragment生命周期图三、对比图四、测试代码:[java] view plaincopy
2014-12-19 11:21:29 626
转载 JAVA字符串格式化-String.format()的使用
常规类型的格式化String类的format()方法用于创建格式化的字符串以及连接多个字符串对象。熟悉C语言的同学应该记得C语言的sprintf()方法,两者有类似之处。format()方法有两种重载形式。format(String format, Object... args) 新字符串使用本地语言环境,制定字符串格式和参数生成格式化的新字符串。format(Lo
2014-12-19 11:16:49 478
转载 ViewHolder模式超简洁写法
ViewHolder是什么就不解释了。 大家通常怎么写ViewHolder呢?[mw_shl_code=java,true] ViewHolder holder = null; if(convertView == null){ convertView = mInflater.inflate(R.layout.x
2014-12-10 18:57:06 590
原创 单例的最佳实现方式
public class Singleton { // Private constructor prevents instantiation from other classes private Singleton() { } /** * SingletonHolder is loaded on the first execution of Singleton.g
2014-12-01 11:38:34 500
TWRP-20190418-3.3.0.0-virgo.img
2020-03-22
live555MediaServer for win7
2012-12-20
删除windows7中的“兼容性疑难解答”右键菜单
2011-11-17
修复笔记本电池的软件.
2010-04-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人