| AndBase开发框架 1.6

- 首页
- 相关页面
- 命名空间
- 类
- 文件

- 类列表
- 类索引
- 类继承关系
- 类成员

全部 类 命名空间 文件 函数 变量 枚举值 页
Public 成员函数 | Private 属性 | 所有成员列表
com.ab.image.toolbox.ImageLoader.ImageContainer类 参考

## Public 成员函数
| ImageContainer (Bitmap bitmap, String requestUrl, String cacheKey, ImageListener listener)
void | cancelRequest ()
Bitmap | getBitmap ()
String | getRequestUrl ()

## Private 属性
Bitmap | mBitmap
final ImageListener | mListener
final String | mCacheKey
final String | mRequestUrl

## 详细描述

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

## 构造及析构函数说明

com.ab.image.toolbox.ImageLoader.ImageContainer.ImageContainer | ( | Bitmap | bitmap,
|  | String | requestUrl,
|  | String | cacheKey,
|  | ImageListener | listener
| ) |  |
| inline

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.

## 成员函数说明

void com.ab.image.toolbox.ImageLoader.ImageContainer.cancelRequest | ( |  | ) |
| inline

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

Bitmap com.ab.image.toolbox.ImageLoader.ImageContainer.getBitmap | ( |  | ) |
| inline

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

String com.ab.image.toolbox.ImageLoader.ImageContainer.getRequestUrl | ( |  | ) |
| inline

Returns the requested URL for this container.

## 类成员变量说明

Bitmap com.ab.image.toolbox.ImageLoader.ImageContainer.mBitmap
| private

The most relevant bitmap for the container. If the image was in cache, the Holder to use for the final bitmap (the one that pairs to the requested URL).

final String com.ab.image.toolbox.ImageLoader.ImageContainer.mCacheKey
| private

The cache key that was associated with the request

final ImageListener com.ab.image.toolbox.ImageLoader.ImageContainer.mListener
| private

final String com.ab.image.toolbox.ImageLoader.ImageContainer.mRequestUrl
| private

The request URL that was specified

该类的文档由以下文件生成:

- src/com/ab/image/toolbox/ImageLoader.java