i have two activities where they have almost same data,i am using same Adapter, But the problem is how to sync data...
E.g. Activity A has recyclerview where it has like buttons in each row with unique id. Activity B also have same recyclerview but with some filter mechanism so it is not going to show all row, my question is how to handle like button state in Activity A and Activity B, such that if i click on activity B's like button than activity A's like button will automatically gets checked and vise versa.
Thanks in adv. for your help... happy coding :)
Aucun commentaire:
Enregistrer un commentaire