Skip to content
This repository

Preloading of images without attaching them to the view #24

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

3 participants

Luigi Agosti Friedger Müffke Roi
Luigi Agosti

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.

Friedger Müffke

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

Friedger Müffke friedger closed this in 755ab36 October 29, 2012

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
Something went wrong with that request. Please try again.