android——ImageLoader添加缓存

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

posted @ 2016-04-06 16:45  shoneworn  阅读(189)  评论(0编辑  收藏  举报