listview 使用 HashMap<String, SoftReference<Bitmap>> 时图片被过早地回收

来源:互联网 发布:部门考核数据流程图 编辑:程序博客网 时间:2024/04/28 13:59

AceMetrix Android Project:  BreakingAdsView

原因 ,自己在 getView()中写的逻辑不对

Solution: 

   http://stackoverflow.com/questions/3818531/lazy-loading-of-drawable-fails-in-softreferences

   http://groups.google.com/group/android-developers/browse_thread/thread/ebabb0dadf38acc1