com.xtremelabs.imageutils
Interface ImageLoaderListener
public interface ImageLoaderListener
Method Summary |
void |
onImageAvailable(ImageView imageView,
Bitmap bitmap,
ImageReturnedFrom returnedFrom)
This method provides you with the ImageView and Bitmap from your ImageLoader's loadImage request. |
void |
onImageLoadError(java.lang.String error)
Called in the event the bitmap could not be retreived. |
onImageAvailable
void onImageAvailable(ImageView imageView,
Bitmap bitmap,
ImageReturnedFrom returnedFrom)
- This method provides you with the
ImageView
and Bitmap
from your ImageLoader's loadImage request.
When this method is called, the bitmap has not yet been loaded into your ImageView
.
- Parameters:
imageView
- The ImageView
that was used for your original request.bitmap
- The bitmap that was retreived.isFromMemoryCache
- A flag indicating whether or not the bitmap was retreived synchronously from the cache.
onImageLoadError
void onImageLoadError(java.lang.String error)
- Called in the event the bitmap could not be retreived.