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 LiveDataCodePudding user response:
MVC this is simply by writing code, if you want to maintain a project for a long time, you will definitely regretCodePudding 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 logicCodePudding user response:
The View and Model two-way binding, concrete is in using the Edittext addTextChangedListener simulation data synchronization process