Reputation: 3709
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