Skip to content

Commit 100cc86

Browse files
author
郑梓斌
committed
update readme
1 parent 555eb9d commit 100cc86

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ implementation 'top.zibin:Luban:1.1.4'
4242
方法 | 描述
4343
---- | ----
4444
load | 传入原图
45+
filter | 设置开启压缩条件
4546
ignoreBy | 不压缩的阈值,单位为K
4647
setTargetDir | 缓存压缩图片路径
47-
filter | 设置开启压缩条件
48-
setCompressListener | 压缩回调
48+
setCompressListener | 压缩回调接口
49+
setRenameListener | 压缩前重命名接口
4950

5051
### 异步调用
5152

@@ -99,6 +100,7 @@ Flowable.just(photos)
99100

100101
### RELEASE NOTE
101102

103+
* **1.1.5**:添加压缩前重命名接口
102104
* **1.1.4**:load方法新增传入类型以兼容Uri图片地址,新增 filter 方法对列表每张图片做压缩判断
103105

104106
# License

0 commit comments

Comments
 (0)