Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
hss01248 committed May 1, 2020
1 parent 9122249 commit 8ab0e42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion activityresult/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation project (':transfrag')
api project (':transfrag')
}
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void onActivityCreated(@NonNull ActivityDemo2 activity, @Nullable Bundle
}

@Override
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
super.onActivityResult(requestCode, resultCode, data);
Toast.makeText(MainActivity.this, "activity onActivityResult 回调", Toast.LENGTH_LONG).show();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import com.hss01248.transfrag.BaseTransFragment;


/**
* time:2020/4/30
* author:hss
Expand Down

0 comments on commit 8ab0e42

Please sign in to comment.