Basic usage
suggest change- Load an image, decode it into a bitmap, and display the bitmap in an
ImageView
(or any other view which implements theImageAware
interface):
ImageLoader.getInstance().displayImage(imageUri, imageView);
- Load an image, decode it into a bitmap, and return the bitmap to a callback:
ImageLoader.getInstance().loadImage(imageUri, new SimpleImageLoadingListener() {
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
// Do whatever you want with the bitmap.
}
});
- Load an image, decode it into a bitmap and return the bitmap synchronously:
Bitmap bmp = ImageLoader.getInstance().loadImageSync(imageUri);
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents