Skip to content

Instantly share code, notes, and snippets.

@smaspe
Last active December 18, 2015 14:19
Show Gist options
  • Save smaspe/5796286 to your computer and use it in GitHub Desktop.
Save smaspe/5796286 to your computer and use it in GitHub Desktop.
ImageLoader imageLoader = new ExtendedImageLoader(queue, new BitmapLru(64000), new ImageRequestFactory() {
@Override
public Request<?> getImageRequest(String url, Listener<Bitmap> listener,
int maxWidth, int maxHeight, Config config,
ErrorListener errorListener) {
return new MyImageRequest(url, listener, maxWidth, maxHeight, config, errorListener);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment