With MVVM, the ViewModel replaces the Presenter in driving the View. The differece is that the ViewModel drives the view with DataBinding, while the Presenter drives the view with an interface.
The quote is taken from this site.
I'm having trouble finding good explanations of:
- What is an interface?
- What is data Binding?
- How are they different?
- How do their differences translate to MVVM vs MVP?
Aucun commentaire:
Enregistrer un commentaire