Skip to content

Commit

Permalink
V2.0.2 优化
Browse files Browse the repository at this point in the history
  • Loading branch information
smuyyh committed Oct 24, 2017
1 parent 20ae11f commit 8a14615
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Android 图片选择器。充分自由定制,极大程度简化使用,支持
## 依赖
```
dependencies {
compile 'com.yuyh.imgsel:library:2.0.1'
compile 'com.yuyh.imgsel:library:2.0.2'
}
```

## 版本

**V2.0.0 支持单独跳转拍照,一些优化**
**V2.0.2 支持单独跳转拍照,一些优化**

## 注意事项

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android {

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.4.0'
//compile project(':library')
//compile 'com.android.support:appcompat-v7:23.4.0'
compile project(':library')
compile 'com.yuyh.imgsel:library:2.0.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.facebook.fresco:fresco:0.6.0'
Expand Down
6 changes: 3 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
version = "2.0.1" // 版本号
version = "2.0.2" // 版本号

android {
compileSdkVersion 23
Expand All @@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion 8
targetSdkVersion 23
versionCode 201
versionName "2.0.1"
versionCode 202
versionName "2.0.2"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
if (!hasFolderGened) {
File imageFile = new File(path);
File folderFile = imageFile.getParentFile();
if (folderFile == null) {
return;
if (folderFile == null || !imageFile.exists() || imageFile.length() < 10) {
continue;
}

Folder parent = null;
Expand Down

0 comments on commit 8a14615

Please sign in to comment.