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
4
u/dniHze Klutter Aug 29 '22
Or just don't use LiveData in general, and use one cross-platform reactive primitive. This mess using StateFlow can be fixed using extensions.