Skip to content

Commit

Permalink
fix Fragemnt==null
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzichen committed May 2, 2017
1 parent 0084caf commit d2f1027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gallery/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ android {
}

dependencies {
compile 'com.android.support:support-fragment:25.3.0'
compile 'com.android.support:support-fragment:25.3.1'
}

//添加
Expand Down
2 changes: 1 addition & 1 deletion gallery/src/main/java/com/dhc/gallery/GalleryHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public GalleryHelper limitPickPhoto(int limitPickPhoto) {


public void execute() {
if(mActivity == null&&mFragment==null) {
if(mActivity == null&&mFragment==null&&mV4Fragment==null) {
return;
}
if(!existSDcard()){
Expand Down

0 comments on commit d2f1027

Please sign in to comment.