mercredi 27 septembre 2017

How is data binding different from using an interface?

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:

  1. What is an interface?
  2. What is data Binding?
  3. How are they different?
  4. How do their differences translate to MVVM vs MVP?

Aucun commentaire:

Enregistrer un commentaire