This is a sample application with MVVM architecture, also commonly known as MODEL-VIEW-VIEWMODEL. The interaction between these layers are as follows:
The main differences in MVP and MVVM are that:
- In MVP, presenter interacts with view refrence and instructs it to change accordingly.
- In MVVM, ViewModel do not have any reference to the view.
Screenshots: