|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageLoadingListener
Listener for image loading process.
You can use SimpleImageLoadingListener
for implementing only needed methods.
SimpleImageLoadingListener
,
FailReason
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 |
Method Detail |
---|
void onLoadingStarted(String imageUri, android.view.View view)
imageUri
- Loading image URIview
- View for imagevoid onLoadingFailed(String imageUri, android.view.View view, FailReason failReason)
imageUri
- Loading image URIview
- View for image. Can be null.failReason
- The reason why image
loading was failedvoid onLoadingComplete(String imageUri, android.view.View view, android.graphics.Bitmap loadedImage)
imageUri
- Loaded image URIview
- View for image. Can be null.loadedImage
- Bitmap of loaded and decoded imagevoid onLoadingCancelled(String imageUri, android.view.View view)
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 |