I need to save the encoded image to the external storage, to display it later, even if the device is offline.
Asked
Active
Viewed 575 times
-1
-
Why would you use Fresco for this, instead of `HttpURLConnection`, OkHttp, etc.? – CommonsWare Jun 12 '17 at 16:27
-
I need to save a large list of images, the best way seems to be to save all those already coded images to only display in a drawee later – Paulo Cezar Schnobli Jun 12 '17 at 20:05
1 Answers
0
You can use the imagepipeline directly, see http://frescolib.org/docs/using-image-pipeline.html
For example, if you want to prefetch the image to disk cache, you can use something like
imagePipeline.prefetchToDiskCache(imageRequest, callerContext);

Alexander Oprisnik
- 1,212
- 9
- 9