0

I'm starting an Activity for result inside a Fragment. But onActivityResult() inside my Fragment is not triggered. Debugging the class FragmentActivity, I see that onActivityResult() is triggered. Whan can happen wrong?

Intent intent = new Intent(activity, SomeClass.class);
startActivityForResult(intent, REQUEST_CODE);
Android
  • 239
  • 1
  • 4
  • 12
  • Can you post the code in which you are starting the `Activity` for result? – Giorgio Antonioli Apr 06 '20 at 15:34
  • This question is already asked you can check it here https://stackoverflow.com/questions/6147884/onactivityresult-is-not-being-called-in-fragment – haliltprkk Apr 06 '20 at 15:37
  • 3
    Does this answer your question? [onActivityResult is not being called in Fragment](https://stackoverflow.com/questions/6147884/onactivityresult-is-not-being-called-in-fragment) – haliltprkk Apr 06 '20 at 15:39

0 Answers0