I am new to android development and MVVM and try to understand Databinding and LiveData.
- With one-way-DataBinding you can get Data from the viewmodel to the view.
- With two-way-DataBinding you can get Data from the viewmodel to the view and from the view to the viewmodel.
Also LiveData updates the view, when data changes in the viewmodel.
Why should I use LiveData, when DataBinding already does that in both one-way and two-way databinding?
What are the perks of using Databinding together with LiveData?