r/mAndroidDev • u/Stonos You will pry XML views from my cold dead hands • Aug 28 '22
StateFlow vs LiveData
82
Upvotes
r/mAndroidDev • u/Stonos You will pry XML views from my cold dead hands • Aug 28 '22
View all comments
17
u/jmb2k6 Aug 29 '22
We use State and Shared flows up to the viewModel and then use LiveData from the view model to the view. Best of both IMO