public static interface ImageLoader.ImageListener extends Response.ErrorListener
| Modifier and Type | Method and Description |
|---|---|
void |
onResponse(ImageLoader.ImageContainer response,
boolean isImmediate)
Listens for non-error changes to the loading of the image request.
|
onErrorResponsevoid onResponse(ImageLoader.ImageContainer response, boolean isImmediate)
response - Holds all information pertaining to the request, as well
as the bitmap (if it is loaded).isImmediate - True if this was called during ImageLoader.get() variants.
This can be used to differentiate between a cached image loading and a network
image loading in order to, for example, run an animation to fade in network loaded
images.