Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what's the difference of this MVP to MVVM? #798

Open
metheway opened this issue Jul 18, 2021 · 2 comments
Open

what's the difference of this MVP to MVVM? #798

metheway opened this issue Jul 18, 2021 · 2 comments
Labels

Comments

@metheway
Copy link

Since the ViewModel is applied, i have no idea whether it is a mvp or mvvm

@Akashsri3bi
Copy link

Since the ViewModel is applied, i have no idea whether it is a mvp or mvvm

View model is applied with mvvm architecture mvp consists of model View . Hope it helps

@tjohns tjohns added the question label Feb 3, 2022
@jaiacharya2004
Copy link

"In MVP (Model-View-Presenter), the Presenter handles the logic and updates the View. The View is passive and directly interacts with the Presenter to get updates. In MVVM (Model-View-ViewModel), however, the ViewModel is used as an intermediary layer between the View and Model. The View observes the ViewModel, and updates are managed through data binding. When using ViewModel, it's typically a sign that you're implementing the MVVM pattern. I hope this clears it up!"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants