onActivityResult()
will be invoked first on the Activity. After that it will be reached out to the Fragments, if you call super.onActivityResult()
in your Activity.
This is because of the modular design of Fragments. If a result comes in, the Activity handles it and the unhandled results, if any, can be reached out to the Fragments.
To answer your question: Decide where it makes sense to handle the results in respect of your app design / code. If you handle it in the Fragment and send the results back to the Activity through a callback f.e., you can handle it directly in the Activity.