java.lang.Object | |
↳ | com.android.volley.toolbox.ImageLoader.ImageContainer |
Container object for all of the data surrounding an image request.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ImageLoader.ImageContainer(Bitmap bitmap, String requestUrl, String cacheKey, ImageLoader.ImageListener listener)
Constructs a BitmapContainer object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
cancelRequest()
Releases interest in the in-flight request (and cancels it if no one else is listening).
| ||||||||||
Bitmap |
getBitmap()
Returns the bitmap associated with the request URL if it has been loaded, null otherwise.
| ||||||||||
String |
getRequestUrl()
Returns the requested URL for this container.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructs a BitmapContainer object.
bitmap | The final bitmap (if it exists). |
---|---|
requestUrl | The requested URL for this container. |
cacheKey | The cache key that identifies the requested URL for this container. |
Releases interest in the in-flight request (and cancels it if no one else is listening).
Returns the bitmap associated with the request URL if it has been loaded, null otherwise.
Returns the requested URL for this container.