public static interface ImageLoader.Callback
ImageLoader.Task has been finished successfully or has failed.ImageLoader.load(Task, Callback)| Modifier and Type | Method and Description |
|---|---|
void |
onImageLoadFailed(ImageLoader.Task task,
ImageLoader.Error error)
Invoked whenever the image loading process failed due to specified error.
|
void |
onImageLoadFinished(ImageLoader.Task task,
android.graphics.Bitmap bitmap)
Invoked whenever the image loading process is successfully finished for the specified
task.
|
void onImageLoadFinished(@NonNull
ImageLoader.Task task,
@NonNull
android.graphics.Bitmap bitmap)
task - The task for which loading process has finished successfully.bitmap - Image bitmap loaded for the task.void onImageLoadFailed(@NonNull
ImageLoader.Task task,
@NonNull
ImageLoader.Error error)
task - The task for which loading process has finished with error.error - The error due to which has the task failed.ImageLoader.Error.reason,
Throwable.getCause()