vendredi 18 octobre 2019

What is the best way to share model (e.g. list of objects) between different ViewModels?

I'm trying to undestand how to share data between two or more ViewModel, because i want to change property of object or several objects in ine fragment and see the changing data in a the other fragment immediately (e.g. on tablet when i can see two fragments in the same time).

I guess this is a completely architectural solution, but I'm new to this so I ask for advice

Aucun commentaire:

Enregistrer un commentaire