类 ImageLoader.ImageContainer

java.lang.Object
com.android.volley.toolbox.ImageLoader.ImageContainer
封闭类:
ImageLoader

public class ImageLoader.ImageContainer extends Object
Container object for all of the data surrounding an image request.
  • 构造器详细资料

    • 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

      public String getRequestUrl()
      Returns the requested URL for this container.