ImageLoader
更新: 2025/10/24 字数: 0 字 时长: 0 分钟
ui/res.ImageLoader
目录
方法
- cancel
- clearDiskCache
- clearMemoryCache
- loadImageBitmap
- loadImageDrawable
- loadImageInto
- loadImageIntoBackground
方法
cancel
- cancel(
view):void
参数
| 名称 | 类型 |
|---|---|
view | View |
返回值
void
clearDiskCache
- clearDiskCache():
void
返回值
void
clearMemoryCache
- clearMemoryCache():
void
返回值
void
loadImageBitmap
- loadImageBitmap(
view,uri):Promise<Bitmap>
参数
| 名称 | 类型 |
|---|---|
view | View |
uri | String |
返回值
Promise<Bitmap>
loadImageDrawable
- loadImageDrawable(
view,uri):Promise<Drawable>
参数
| 名称 | 类型 |
|---|---|
view | View |
uri | String |
返回值
Promise<Drawable>
loadImageInto
- loadImageInto(
imageView,uri):Promise<void>
参数
| 名称 | 类型 |
|---|---|
imageView | ImageView |
uri | String |
返回值
Promise<void>
loadImageIntoBackground
- loadImageIntoBackground(
view,uri):Promise<void>
参数
| 名称 | 类型 |
|---|---|
view | View |
uri | String |
返回值
Promise<void>
