Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
luck1991 committed Jun 25, 2017
2 parents 7eb20a3 + 32882f7 commit d99d24b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PictureSelectorLight 2.0 无裁剪功能版
# PictureSelectorLight 2.0 无裁剪功能版
一款针对android平台下的图片选择器,支持从相册或拍照选择图片或视频、音频,支持动态权限获取、压缩、主题自定义配置等功能、适配android 6.0+系统的开源图片选择框架。


Expand Down Expand Up @@ -82,7 +82,7 @@

```
dependencies {
   compile 'com.github.LuckSiege:PictureSelectorLight:v2.0.7'
   compile 'com.github.LuckSiege:PictureSelectorLight:v2.0.8'
}
```
Expand Down Expand Up @@ -114,7 +114,7 @@ step 2.
<dependency>
  <groupId>com.github.LuckSiege</groupId>
  <artifactId>PictureSelectorLight</artifactId>
  <version>v2.0.7</version>
  <version>v2.0.8</version>
</dependency>
Expand Down Expand Up @@ -185,6 +185,8 @@ if (savedInstanceState == null) {
.enablePreviewAudio() // 是否可播放音频 true or false
        .compressGrade()// luban压缩档次,默认3档 Luban.THIRD_GEAR、Luban.FIRST_GEAR、Luban.CUSTOM_GEAR
.isCamera()// 是否显示拍照按钮 ture or false
.isZoomAnim(true)// 图片列表点击 缩放效果 默认true
.sizeMultiplier(0.5f)// glide 加载图片大小 0~1之间 如设置 .glideOverride()无效
.setOutputCameraPath("/Chinayie/App")// 自定义拍照保存路径,可不填
        .compress()// 是否压缩 true or false
        .compressMode()//系统自带 or 鲁班压缩 PictureConfig.SYSTEM_COMPRESS_MODE or LUBAN_COMPRESS_MODE
Expand Down Expand Up @@ -319,15 +321,20 @@ PictureSelector.create(MainActivity.this).externalPictureVideo(video_path);
## 更新日志

### 当前版本:
* v2.0.8
* 修复直接播放视频闪退bug
* 升级glide为4.0rc
* 新增图片列表点击缩放效果api

### 历史版本:
* v2.0.7
* 修复已知bug

### 历史版本:
* v2.0.6
* 新增拍照自定义保存路径

### 项目使用第三方库:
* glide:3.7.0
* glide:4.0.0 RC
* rxjava:2.0.5
* rxandroid:2.0.1
* PhotoView:1.2.4
Expand Down

0 comments on commit d99d24b

Please sign in to comment.