Home > Mobile >  MVVM can give a no framework to describe clearly the demo?
MVVM can give a no framework to describe clearly the demo?

Time:11-16

Online too much, too miscellaneous, opinions vary,

There is a problem: MVC don't framework, is ok, MVVM must use a framework?

CodePudding user response:

Then I advise you to use the MVP architecture, because the MVVM VM layer must use the ViewModel and LiveData

CodePudding user response:

MVC this is simply by writing code, if you want to maintain a project for a long time, you will definitely regret

CodePudding user response:

Personal understanding: MVC is Jquery, writing code in the script, what effect, and then run the display, MVVM is like vuereact, two-way data binding, can write code in the script, also can be in HTML to write logic

CodePudding user response:

The View and Model two-way binding, concrete is in using the Edittext addTextChangedListener simulation data synchronization process
  • Related