android——ImageLoader添加缓存

 //给图片加入到缓存中。
            DisplayImageOptions options = new DisplayImageOptions.Builder().cacheOnDisc().cacheInMemory()
                    .showImageOnFail(R.drawable.shop_banner1).build();

原文地址:https://www.cnblogs.com/shoneworn/p/5359969.html