Public 成员函数 | |
| void | onResponse (ImageContainer response, boolean isImmediate) |
Interface for the response handlers on image requests.
The call flow is this:
| void com.ab.image.toolbox.ImageLoader.ImageListener.onResponse | ( | ImageContainer | response, |
| boolean | isImmediate | ||
| ) |
Listens for non-error changes to the loading of the image request.
| 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. |
1.8.8