- 博客(2)
- 收藏
- 关注
原创 对handler的一些简单理解
android中的Handler Looper Message MessageQueue相互关系1.handler用于主线程和子线程之间的相互通讯,通常是new handler,实现handlemessage方法来对message进行处理,而且在初始化handler的方法中必须传入一个Looper,如果在主线程newhandler,那么就共享主线程的looper,存在主线程的threadlocal(
2016-06-05 15:07:44 310
原创 listview的一些感悟
RecycleBin缓存机制 几个关键方法: void fillActiveViews(int childCount, int firstActivePosition) { if (mActiveViews.length mActiveViews = new View[childCount]; }
2016-05-29 22:33:15 227
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人