I have three components whose data I have to synchronise.
-
Activity - This activity get data from
Content Providerand has aViewPager. It passes this data (Fragment.getInstance(data...)) to the second component which is aFragment -
Fragment - This fragment has a
RecyclerViewandonClick()of a particular item, data is passed through intent to the third component which is anActivity. -
Activity - Here the data which is received is modified.
What would be the best way to sync this modification across all the three components?
Aucun commentaire:
Enregistrer un commentaire