MVVM pattern has some similarities with the MVP(Model — View — Presenter) design pattern as the Presenter role is played by the ViewModel. However, the drawbacks of the MVP pattern has been solved by MVVM. … This layer observes the ViewModel and does not contain any kind of application logic .
What is the difference between MVP and MVVM and why these architectures are used?
MVVM pattern has some similarities with the MVP(Model — View — Presenter) design pattern as the Presenter role is played by the ViewModel. However, the drawbacks of the MVP pattern has been solved by MVVM. … This layer observes the ViewModel and does not contain any kind of application logic .