2013年9月3日

谨慎使用AsyncTask

摘要: AsyncTask估计很多人都使用过这个东西,感觉很美好的东西,asynchronize 特性,多线程支持但不需要关心具体线程执行细节,杠杠的好玩意儿。而事实上呢,稍有不慎,就是大悲剧。AsyncTask有段注释: * AsyncTask is designed to be a helper class around {@link Thread} and {@link Handler} * and does not constitute a generic threading framework. AsyncTasks should ideally be * used for short op 阅读全文

posted @ 2013-09-03 21:24 wacao 阅读(833) 评论(0) 推荐(0) 编辑

导航