-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.AbstractMethodError: abstract method "io.reactivex.Observable rx_activity_result2.OnPreResult.response(int, int, android.content.Intent)" #70
Comments
Hi @laysdra7265 ! |
For work around ,I fix it by use the older version of RxActivityResult. private OnPreResult getOnPreResultProcessing() {
return new OnPreResult() {
@Override
//Problem here
public Observable<Uri> response(int responseCode, @Nullable final Intent intent) {
if (responseCode == Activity.RESULT_OK && intent != null && intent.getData() != null) {
Uri pickedUri = intent.getData();
PermissionUtil.grantReadPermissionToUri(targetUi, pickedUri);
return Observable.just(intent.getData());
} else {
return Observable.empty();
}
}
};
} |
I have no time this week, sorry. I'll try to fix it next week. |
Any intention of upgrading this to the latest RxActivityResult version soon? Or would you rather leave this supporting the current version? |
Hi all!, |
No problem. Definitely understand. If you can't get to it today, let me know and I'll take a stab at getting it all updated. If you have any process/procedures I should know about on developing in this codebase please let me know. |
…ult_mismatch Fix #70 - rx_activity_result2.OnPreResult.response() params mismatch
Hi @laysdra7265 @onomated ! |
Works great! Tested from camera image capture, gallery images, remote images from Google drive etc. All good on my end. |
When I run Example code
then get this exception
looks like the RxAtivityResult2 has update something but here is outdated.
The text was updated successfully, but these errors were encountered: