as far as my experience goes I've come to terms with the fact that onActivityResult
is a complete mess.
For your particular situation I believe you should call startActivityForResult
from fragA via getParent
method in FragB. Then get the result in FragA and pass it onto the child fragment using getChildFragmentManager().getFragments()
.
I have followed this pattern for a FragmentTabHost where the individual tabs are child Fragments. There doesn't seem to be any default code to pass the activity result onto child fragments.