Najeebullah Shah
Najeebullah Shah

Reputation: 3709

OnActivityResult from nested fragment is not calling

I have an activity i.e., HomeActivity, then i have a fragment in HomeActivity with name ParentFragment. In ParentFragment there are three tabs A, B and C. The ParentFragment places A, B and C in nested fragment container. Now A, B and C are nested fragments inside ParentFragment. I have implemented startActivityForResult in A. I then implemented the OnActivityResult in ParentFragment because i was unable to get response in A. Now i am getting OnActivityResult for the first time in ParentFragment but when i switch between B and then back to A, the OnActvityResult is not calling.

Any help is appreciated in advance.

Upvotes: 0

Views: 796

Answers (1)

nvinayshetty
nvinayshetty

Reputation: 3237

I hope this link will solve your problem

Upvotes: 1

Related Questions