When and why to use Android LiveData
Giora Shevach
4565

Using MVVM with DataBinding could be better, and less code inActivity. What I can see is the registration for LiveData in Activity, which you have done by `observeProfile` function is redundant.

Like what you read? Give Khuất Việt Hòa a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.