Android, how to lazy load images from url and persistently cache them in gallery widget?
Solution 1
This is how:
Lazy load of images in ListView
Check the demo in the second answer, helped me massively!
Solution 2
Try this code.the universal imageloader.
MarcoS
I'm a sailor. I love roaming in the Mediterranean sea on any wood piece you can stick a mast and a sail on. In my spare time I do software engineering in Turin, as a full-stack developer. I start my coding ages ago with x86 assembly; then I go with C, bash, Perl, Java; Android; currently I do MEAN stack: MongoDB, Express.js, Angular.js and of course Node.js. Obviously on the shoulders of the GNU/Linux O.S..
Updated on January 29, 2020Comments
-
MarcoS over 4 years
I'm implementing an Android gallery widget. I'm asking how to lazy (i.e. in a separate thread) load images from the web and persistently cache them? So that on the next run I have the cached images locally available...
-
sandip over 11 yearsThis should be in comment!
-
MarcoS over 11 yearsAnd, the link is a 404 (probably it's github.com/nostra13/Android-Universal-Image-Loader ...).