Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
BzCoder committed May 17, 2019
1 parent 399cda8 commit b7cebab
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![](https://jitpack.io/v/BzCoder/SmartMediaPicker.svg)](https://jitpack.io/#BzCoder/SmartMediaPicker)
[![Build Status](https://www.travis-ci.org/BzCoder/SmartMediaPicker.svg?branch=master)](https://www.travis-ci.org/BzCoder/SmartMediaPicker)


主要还是站在了巨人的肩膀上,封装了以下两个库,修复[仿微信拍照Android控件](https://github.com/CJT2325/CameraView)中存在的几个BUG。也欢迎在提出更多的使用配置需求。欢迎提出issue,一天之内回复。
- [知乎matisse](https://github.com/zhihu/Matisse)
- [仿微信拍照Android控件](https://github.com/CJT2325/CameraView)
Expand All @@ -12,8 +13,13 @@
|![](image/20190315005039.gif) | ![](image/20190315005454.gif) |

## 改动
### v 1.1.1
- 修复内存泄漏问题
- 修复 withIsMirror 命名大小写问题
### v 1.1.0
- 新增 前置摄像头是否开启镜像翻转选项 isMirror
### v 1.0.9
- 修复底部弹窗无法跳转返回后无法选择媒体的BUG!!
- 修复底部弹窗无法跳转返回后无法获取到文件的BUG!!
- 优化Sample
### v 1.0.8 有严重Bug弃用
- 新增单独调用相机,图片选择器功能
Expand Down Expand Up @@ -41,7 +47,7 @@
dependencies {
implementation 'com.github.BzCoder:SmartMediaPicker:1.0.9'
implementation 'com.github.BzCoder:SmartMediaPicker:1.1.1'
}
```
### 代码添加:
Expand All @@ -65,7 +71,9 @@
.withMaxImageSize(5)
//设置图片加载引擎
.withImageEngine(new Glide4Engine())
//弹出类别,默认弹出底部选择栏,也可以选择单独跳转
//前置摄像头拍摄是否镜像翻转图像 默认为true 与微信一致的话为false
.withIsMirror(false)
//弹出类别,默认弹出底部选择栏,也可以选择单独跳转
.withMediaPickerType(MediaPickerEnum.BOTH)
.build()
.show();
Expand Down

0 comments on commit b7cebab

Please sign in to comment.