类 ImageLoader.ImageContainer
java.lang.Object
com.android.volley.toolbox.ImageLoader.ImageContainer
- 封闭类:
- ImageLoader
Container object for all of the data surrounding an image request.
-
构造器概要
构造器构造器说明ImageContainer(android.graphics.Bitmap bitmap, String requestUrl, String cacheKey, ImageLoader.ImageListener listener) Constructs a BitmapContainer object. -
方法概要
修饰符和类型方法说明voidReleases interest in the in-flight request (and cancels it if no one else is listening).android.graphics.BitmapReturns the bitmap associated with the request URL if it has been loaded, null otherwise.Returns the requested URL for this container.
-
构造器详细资料
-
ImageContainer
public ImageContainer(android.graphics.Bitmap bitmap, String requestUrl, String cacheKey, ImageLoader.ImageListener listener) 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.
-
-
方法详细资料
-
cancelRequest
public void cancelRequest()Releases interest in the in-flight request (and cancels it if no one else is listening). -
getBitmap
public android.graphics.Bitmap getBitmap()Returns the bitmap associated with the request URL if it has been loaded, null otherwise. -
getRequestUrl
Returns the requested URL for this container.
-