2017-12-11(1)
1.fragment:
菜鸟:http://www.runoob.com/w3cnote/android-tutorial-fragment-demo1.html
fragment切换:http://blog.csdn.net/u013420865/article/details/53673269、
http://blog.csdn.net/harvic880925/article/details/44948027
2.Android性能优化:
http://blog.csdn.net/sd19871122/article/details/52087026
3.sectionViewPhoto.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
http://mobile.51cto.com/hot-302203_2.htm
大家应该都知道,这是开启硬件加速的,
4.ConcurrentHashMap
http://www.importnew.com/22007.html
5.Handler sendMessage 与 obtainMessage (sendToTarget)比较
http://www.cnblogs.com/android007/archive/2012/05/10/2494766.html
Message msg = handler.obtainMessage();
msg.arg1 = i;
msg.sendToTarget();
DecorView完成后,resume就结束了
inflate->new view ->add
线程
Message msg=new Message();
msg.arg1=i;
handler.sendMessage(msg);
第一种写法是message 从handler 类获取,从而可以直接向该handler 对象发送消息,第二种写法是直接调用 handler 的发送消息方法发送消息。
6.EventBus使用:
http://blog.csdn.net/harvic880925/article/details/40660137
http://blog.csdn.net/qiyei2009/article/details/51931569