public class SimpleImageLoadingListener extends java.lang.Object implements ImageLoadingListener
ImageLoadingListener but does
nothing.| Constructor and Description |
|---|
SimpleImageLoadingListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onLoadingCancelled(java.lang.String imageUri,
android.view.View view)
Is called when image loading task was cancelled because View for image was reused in newer task
|
void |
onLoadingComplete(java.lang.String imageUri,
android.view.View view,
android.graphics.Bitmap loadedImage)
Is called when image is loaded successfully (and displayed in View if one was specified)
|
void |
onLoadingFailed(java.lang.String imageUri,
android.view.View view,
FailReason failReason)
Is called when an error was occurred during image loading
|
void |
onLoadingStarted(java.lang.String imageUri,
android.view.View view)
Is called when image loading task was started
|
public void onLoadingStarted(java.lang.String imageUri,
android.view.View view)
ImageLoadingListeneronLoadingStarted in interface ImageLoadingListenerimageUri - Loading image URIview - View for imagepublic void onLoadingFailed(java.lang.String imageUri,
android.view.View view,
FailReason failReason)
ImageLoadingListeneronLoadingFailed in interface ImageLoadingListenerimageUri - Loading image URIview - View for image. Can be null.failReason - The reason why image
loading was failedpublic void onLoadingComplete(java.lang.String imageUri,
android.view.View view,
android.graphics.Bitmap loadedImage)
ImageLoadingListeneronLoadingComplete in interface ImageLoadingListenerimageUri - Loaded image URIview - View for image. Can be null.loadedImage - Bitmap of loaded and decoded imagepublic void onLoadingCancelled(java.lang.String imageUri,
android.view.View view)
ImageLoadingListeneronLoadingCancelled in interface ImageLoadingListenerimageUri - Loading image URIview - View for image. Can be null.