Issue
I have a SearchFragment
and a PersonFragment
which are hosted by different FragmentActivity
s
The user will navigate from the SearchFragment
to the PersonFragment
. When the user is done with the PersonFragment
(such as when they press the back button), I would like to send data back to SearchFragment
so it can update its UI with any changes the user made while in PersonFragment
.
I read the best way to do this is in the Activity's finish()
method. However, since I'm using fragments I'm not sure how to accomplish this.
Solution
Ended up using EventBus for this
Answered By - James
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.