Preloading of images without attaching them to the view #24

luigi-agosti opened this Issue May 12, 2012 · 2 comments


None yet

3 participants


Is it able preload images? Not bind them to a view but fetch them and store in a cache for later use.
Thanks for sharing btw. Will fork it and try it out.


TODO: add ImageManager.cacheImage(String url, int width, int height)

@friedger friedger was assigned Oct 1, 2012
@friedger friedger closed this in 755ab36 Oct 29, 2012
roisagiv commented Mar 6, 2013

I'm afraid there is a bug related to this feature:, line 129-132

   if (b == null) {
      // decode failed
      loaderSettings.getCacheManager().put(url, b);

I believe it should be:

   if (b != null) {
      loaderSettings.getCacheManager().put(url, b);
   } else {
      // decode failed


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment