Public 成员函数 | |
| BatchedImageRequest (Request<?> request, ImageContainer container) | |
| void | setError (VolleyError error) |
| VolleyError | getError () |
| void | addContainer (ImageContainer container) |
| boolean | removeContainerAndCancelIfNecessary (ImageContainer container) |
Private 属性 | |
| final Request<?> | mRequest |
| Bitmap | mResponseBitmap |
| VolleyError | mError |
| final LinkedList< ImageContainer > | mContainers = new LinkedList<ImageContainer>() |
Wrapper class used to map a Request to the set of active ImageContainer objects that are interested in its results.
|
inline |
Constructs a new BatchedImageRequest object
| request | The request being tracked |
| container | The ImageContainer of the person who initiated the request. |
|
inline |
Adds another ImageContainer to the list of those interested in the results of the request.
|
inline |
Get the error for this response
|
inline |
Detatches the bitmap container from the request and cancels the request if no one is left listening.
| container | The container to remove from the list |
|
inline |
Set the error for this response
|
private |
List of all of the active ImageContainers that are interested in the request
|
private |
Error if one occurred for this response
|
private |
The request being tracked
|
private |
The result of the request being tracked by this item
1.8.8