lundi 11 septembre 2017

Android data transfer from activity to another activity's tablayout fragment

OneActivity -> TabLayout - > FragmentA, FragmentB, FragmentC

TwoActivity -> some clickable widgets

From FragmentA I will go to TwoActivity and if some action happens in TwoActivity I want to have that action value in FragmentC of OneActivity if user navigate to FragmentC.

I tried eventbus but not found solution for it. I want to know the best design pattern for this purpose.

Aucun commentaire:

Enregistrer un commentaire