Downloads Images and attaches them to ImageViews.
- Disk & in-memory caching.
- Effective image decoding.
- inBitmap support.
- Cross-fade support.
See constructor, BitmapMemoryCache
, BitmapDiskCache
.
Processes(resizes, rounds corners, etc.) bitmaps in background & caches the result.
Receives callbacks.
ImageFetcher can be paused while scrolling.
See ImageListAdapter
from DroidPartsGram for an example.
@Override
public void onScrollStateChanged(AbsListView view, int scrollState) {
switch (scrollState) {
case OnScrollListener.SCROLL_STATE_FLING:
imageFetcher.pause();
break;
default:
imageFetcher.resume(true);
}
}