Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
97841ee8d5
11
README.md
11
README.md
|
@ -333,6 +333,7 @@ request.skipMemoryCache(true)
|
||||||
| preload(request: RequestOption) | request: RequestOption | 根据用户配置参数具体执行预加载流程 |
|
| preload(request: RequestOption) | request: RequestOption | 根据用户配置参数具体执行预加载流程 |
|
||||||
| pauseRequests() | | 全局暂停请求 |
|
| pauseRequests() | | 全局暂停请求 |
|
||||||
| resumeRequests() | | 全局恢复暂停 |
|
| resumeRequests() | | 全局恢复暂停 |
|
||||||
|
| isUrlExist(request: RequestOption) | request: RequestOption | 判断图片是否在 缓存和磁盘中存在,request.setCacheType(CacheType.Cache) request.setImageViewSize(this.comSize) 如果入参是缓存,需要传入值图片大小|
|
||||||
|
|
||||||
### 缓存策略相关
|
### 缓存策略相关
|
||||||
|
|
||||||
|
@ -352,6 +353,14 @@ request.skipMemoryCache(true)
|
||||||
| AntiAliasing.FIT_MEDIUM | String | 图像抗锯齿设置为中画质 |
|
| AntiAliasing.FIT_MEDIUM | String | 图像抗锯齿设置为中画质 |
|
||||||
| AntiAliasing.FIT_LOW | String | 图像抗锯齿设置为低画质 |
|
| AntiAliasing.FIT_LOW | String | 图像抗锯齿设置为低画质 |
|
||||||
|
|
||||||
|
### CacheType类型展示效果
|
||||||
|
|
||||||
|
| 使用方法 | 类型 | 策略描述 |
|
||||||
|
|-------------------------|-----|-----------------------------------|
|
||||||
|
| CacheType.Cache| int | 缓存 |
|
||||||
|
| CacheType.Disk | int | 磁盘 |
|
||||||
|
|
||||||
|
|
||||||
### ScaleType类型展示效果
|
### ScaleType类型展示效果
|
||||||
|
|
||||||
| 使用方法 | 类型 | 策略描述 |
|
| 使用方法 | 类型 | 策略描述 |
|
||||||
|
@ -517,7 +526,7 @@ HSP场景适配:
|
||||||
- testPreloadPage.ets # 预加载测试
|
- testPreloadPage.ets # 预加载测试
|
||||||
- transformPixelMapPage.ets # 所有类型变换测试
|
- transformPixelMapPage.ets # 所有类型变换测试
|
||||||
- testSingleFrameGifPage.ets # 单帧gif加载测试
|
- testSingleFrameGifPage.ets # 单帧gif加载测试
|
||||||
|
- testImageKnifeCache # 跳过网络判断图片是否存在于缓存或者磁盘中
|
||||||
- OptionTestPage.ets # 图片缓存测试
|
- OptionTestPage.ets # 图片缓存测试
|
||||||
- testManyGifLoadWithPage # 测试gif加载页面
|
- testManyGifLoadWithPage # 测试gif加载页面
|
||||||
-workers
|
-workers
|
||||||
|
|
Loading…
Reference in New Issue