SimpleDraweeView|SimpleDraweeView 控件清空缓存

SimpleDraweeView 控件清空缓存

Uri imgurl=Uri.parse(item.getImg()); // 清除Fresco对这条验证码的缓存 ImagePipeline imagePipeline = Fresco.getImagePipeline(); imagePipeline.evictFromMemoryCache(imgurl); imagePipeline.evictFromDiskCache(imgurl); // combines above two lines imagePipeline.evictFromCache(imgurl); SimpleDraweeView poster=((SimpleDraweeView) view.findViewById(R.id.sdv_home_movie_poster)); poster.setImageURI(imgurl);

    推荐阅读