|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.volley.toolbox.ImageLoader.ImageContainer
public class ImageLoader.ImageContainer
Container object for all of the data surrounding an image request.
Constructor Summary | |
---|---|
ImageLoader.ImageContainer(Bitmap bitmap,
String requestUrl,
String cacheKey,
ImageLoader.ImageListener listener)
Constructs a BitmapContainer object. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageLoader.ImageContainer(Bitmap bitmap, String requestUrl, String cacheKey, ImageLoader.ImageListener listener)
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.Method Detail |
---|
public void cancelRequest()
public Bitmap getBitmap()
public String getRequestUrl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |