You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RxActivityResult.startActivityForResult(this, intent, REQUEST_CODE)
.subscribe(
new Consumer() { @OverRide
public void accept(@nonnull ActivityResult result) throws Exception {
if (result.isOk()) {
final Intent data = result.getData();
// DO SOME THING
}
}
},
new Consumer() { @OverRide
public void accept(@io.reactivex.annotations.NonNull Throwable throwable) throws Exception {
}
},
new Action() { @OverRide
public void run() throws Exception {
RxActivityResult.startActivityForResult(this, intent, REQUEST_CODE)
.subscribe(
new Consumer() {
@OverRide
public void accept(@nonnull ActivityResult result) throws Exception {
if (result.isOk()) {
final Intent data = result.getData();
// DO SOME THING
}
}
},
new Consumer() {
@OverRide
public void accept(@io.reactivex.annotations.NonNull Throwable throwable) throws Exception {
}
},
new Action() {
@OverRide
public void run() throws Exception {
在ResultHandleV4Fragment 和 ResultHandleFragment 的 onActivityResult 中的
resultPublisher.onNext(new ActivityResult(requestCode, resultCode, data));
之后添加
resultPublisher.onComplete();
The text was updated successfully, but these errors were encountered: