android/codelab-android-room-with-a-view

Using stateflow instead of livedata

pawaom opened this issue · 0 comments

pawaom commented

The room Database example still uses the old livedata , it should migrate to the new stateflow

Using livedata instead of stateflow is not the recommended way for reactive programming

according to this

https://youtu.be/fSB6_KE95bU?t=642

and

https://youtu.be/fSB6_KE95bU?t=983