there is activit And in it I execute startForResult activit B, then in the ActivityResult I process the result, from activi A. I don’t understand how to perform the last operation. code below is Activate A
public void startForResult(int requestCode) { if (requestCode==1) { //do something } } @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { if( requestCode == xx ) { //do something } }
then the fragment starts and it activates C. in it. I tried to use rx, create an Observable and subscribe to it when we get the result, but it did not go. Tell me what other options are there?