摘要:
1 Strong Referenceeg: Emp e=new Emp(); 2.soft Reference eg: softReference ref=new SoftReference(bitmap); HashMap<String,SoftReference<Bitmap>> cache=n 阅读全文
摘要:
内存缓存:存 HashMap<String,Bitmap>cache;Bitmap bitmap;cache.put(path,bitmap)取:cache.get(path) weakedHashMap<String,xx>map;while(true){map.put(xx,xx); 文件缓存: 阅读全文