public class SimpleImageLoadingListener extends Object implements ImageLoadingListener
ImageLoadingListener
but does
nothing.Constructor and Description |
---|
SimpleImageLoadingListener() |
Modifier and Type | Method and Description |
---|---|
void |
onLoadingCancelled(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(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(String imageUri,
android.view.View view,
FailReason failReason)
Is called when an error was occurred during image loading
|
void |
onLoadingStarted(String imageUri,
android.view.View view)
Is called when image loading task was started
|
public void onLoadingStarted(String imageUri, android.view.View view)
ImageLoadingListener
onLoadingStarted
in interface ImageLoadingListener
imageUri
- Loading image URIview
- View for imagepublic void onLoadingFailed(String imageUri, android.view.View view, FailReason failReason)
ImageLoadingListener
onLoadingFailed
in interface ImageLoadingListener
imageUri
- Loading image URIview
- View for image. Can be null.failReason
- The reason why image
loading was failedpublic void onLoadingComplete(String imageUri, android.view.View view, android.graphics.Bitmap loadedImage)
ImageLoadingListener
onLoadingComplete
in interface ImageLoadingListener
imageUri
- Loaded image URIview
- View for image. Can be null.loadedImage
- Bitmap of loaded and decoded imagepublic void onLoadingCancelled(String imageUri, android.view.View view)
ImageLoadingListener
onLoadingCancelled
in interface ImageLoadingListener
imageUri
- Loading image URIview
- View for image. Can be null.Copyright © 2011-2015. All Rights Reserved.