Android - How to get image file from Fresco disk cache?
I am using the Fresco library. I can't find any related info in the Fresco documentation, how can I get an image file from Fresco's disk cache? danhantao if the image have download in cache,you can do it like: ImageRequest imageRequest=ImageRequest.fromUri(url); CacheKey cacheKey=DefaultCacheKeyFactory.getInstance() .getEncodedCacheKey(imageRequest); BinaryResource resource = ImagePipelineFactory.getInstance() .getMainDiskStorageCache().getResource(cacheKey); File file=((FileBinaryResource)resource).getFile(); I hope this helps Check Plamenkos answer on this link.. https://github.com/facebook