I use the Fresco Facebook library and SimpleDraweeView to display an avatar image from a file:
Uri avaURI = Uri.fromFile(new File(getCacheDir(), Constants.AVA_FILE_NAME)); simpleDrawee.setImageURI(avaURI);
But what if I changed the image file (deleted the previous file and created the same one with the new image), how can I update (update) SimpleDraweeView? It still displays the old version of the image (I tried to disable the Fresco.getImagePipeline().evictFromMemoryCache(avaURI); cache, but that didn't help).
source share