public class

ImageLoader.ImageContainer

extends Object
java.lang.Object
   ↳ com.android.volley.toolbox.ImageLoader.ImageContainer

Class Overview

Container object for all of the data surrounding an image request.

Summary

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

Public Constructors

public ImageLoader.ImageContainer (Bitmap bitmap, String requestUrl, String cacheKey, ImageLoader.ImageListener listener)

Constructs a BitmapContainer object.

Parameters
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.

Public Methods

public void cancelRequest ()

Releases interest in the in-flight request (and cancels it if no one else is listening).

public Bitmap getBitmap ()

Returns the bitmap associated with the request URL if it has been loaded, null otherwise.

public String getRequestUrl ()

Returns the requested URL for this container.