https://kotlinlang.org logo
Title
n

Nikhil

11/23/2020, 3:58 AM
What's the basic difference between Flow and Live data? Can anyone explain this with an example
s

Saul Wiggin

11/23/2020, 12:05 PM
The difference is that Flow is less closely coupled with the UI as LiveData. This means that it is possible to interact with the data layer more easily and deploy additional workers. It utilizes all the structured concurrency in coroutines
n

Nikhil

11/23/2020, 1:13 PM
So you're saying Flow is better than LiveData?