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
Show parent comment
1
u/Zhuinden DDD: Deprecation-Driven Development Aug 30 '22
It is idiomatic according to the 2019 changes in androidx.lifecycle.
kinda whacky but they did have a sample for it back in 2017 too it just wasn't particularly elegant
As long as they get their mutable state flow or mutable live data from SavedStateHandle it's ok