Closed yedajiang44 closed 4 years ago
I have same issue. Current implementation does not support it:
And the only situation when it's propagated is negative case:
private static int FAILED_REQUEST_CODE = -909;
This is really strange why it's included in example
@stari4ek I don't know why is this,and the author doesn't seem to maintenance,
@yedajiang44 hope this message won't come too late.
by viewing this project code thoroughly, you may notice that each
RxActivityResult creates a new activity and fragment internally and transparently. By doing the startActivityForResult
under the hood, you / users never notice the extra page, but it handles onActivityForResult
for you, and pass the callback out by listener.
by this approach, one can ensure that each request and result are composed together in its own tunnel, like VPN, that others won't never interfere inside.
therefore, you don't have to care the request code, but the result code only.
the requestCode always 0;