摘要:
handler内存泄漏原因有两个: 第一: 阅读全文
摘要:
public class CashSoft { //bitmap对象用软引用保存 private Map<String,SoftReference<Bitmap>> imageCash = new HashMap<String,SoftReference<Bitmap>>(); public voi 阅读全文
摘要:
public class MemoryCache { private static final String TAG = "MemoryCache"; private Map<String, Bitmap> cache=Collections.synchronizedMap( new LinkedH 阅读全文