|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nostra13.universalimageloader.core.listener.SimpleImageLoadingListener
public class SimpleImageLoadingListener
A convenient class to extend when you only want to listen for a subset of all the image loading events. This
implements all methods in the ImageLoadingListener
but does
nothing.
Constructor Summary | |
---|---|
SimpleImageLoadingListener()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleImageLoadingListener()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |