update README.md.
Signed-off-by: 面条侠 <wangxinxin51@h-partners.com>
This commit is contained in:
parent
90dca0464e
commit
b4c1c26362
10
README.md
10
README.md
|
@ -333,6 +333,7 @@ request.skipMemoryCache(true)
|
|||
| preload(request: RequestOption) | request: RequestOption | 根据用户配置参数具体执行预加载流程 |
|
||||
| pauseRequests() | | 全局暂停请求 |
|
||||
| resumeRequests() | | 全局恢复暂停 |
|
||||
| isUrlExist(request: RequestOption) | request: RequestOption | 判断图片是否在 缓存和磁盘中存在,request.setCacheType(CacheType.Cache) request.setImageViewSize(this.comSize) 如果入参是缓存,需要传入值图片大小|
|
||||
|
||||
### 缓存策略相关
|
||||
|
||||
|
@ -368,6 +369,15 @@ request.skipMemoryCache(true)
|
|||
| ScaleType.AUTO_WIDTH | int | 设置高的时候,图片宽度自适应 |
|
||||
| ScaleType.AUTO | int | 没有设置宽和高,图片按照自身宽高显示 |
|
||||
|
||||
|
||||
### CacheType类型展示效果
|
||||
|
||||
| 使用方法 | 类型 | 策略描述 |
|
||||
|-------------------------|-----|-----------------------------------|
|
||||
| CacheType.Cache| int | 缓存 |
|
||||
| CacheType.Disk | int | 磁盘 |
|
||||
|
||||
|
||||
### 图片变换相关
|
||||
|
||||
| 使用方法 | 类型 | 相关描述 |
|
||||
|
|
Loading…
Reference in New Issue