摘要: 内存缓存//需要导入外部jar文件 android-support-v4.jar import android.support.v4.util.LruCache; //开辟8M硬缓存空间 private final int hardCachedSize = 8*1024*1024; //hard cache private final LruCache<String, Bitmap> sHardBitmapCache = new LruCache<String, Bitmap>(hardCachedSize){ @Override public int sizeOf(S 阅读全文
posted @ 2012-11-04 11:08 编程小爬虫 阅读(299) 评论(0) 推荐(0) 编辑