Jason
12/17/2019, 3:09 AMtoan.tran
12/17/2019, 7:33 AMursus
12/17/2019, 8:39 AMtschuchort
12/17/2019, 9:13 AMdewildte
12/17/2019, 3:36 PMAnastasia Finogenova
12/17/2019, 9:26 PMJason
12/18/2019, 2:00 AM1. A screen has many part, call it BoardA, BoardB, BoardC.
2. On each Board , there are many information can be changed so we use LiveData for each iem.
3. So we can image a structer of this screen like this:
- BoardA ( FragmentA + ViewModelA + several LiveData in ViewModelA )
- Same for BoardB
- Same for BoardC
- MainScreen we have an Activity + ViewModel
There are many LiveData that the reason I have to separate ViewModel .
The problem come when I want to share /control LiveData between each ViewModel .
So viewmodel will be depend on each other… I think it is not good for architecture designingAnastasia Finogenova
12/18/2019, 2:59 AMursus
12/19/2019, 7:39 AM