What is difference between MVVM and MVP?

Differences to MVP. MVVM uses data binding and is therefore a more event driven architecture . MVP typically has a one to one mapping between the presenter and the view, while MVVM can map many views to one view model In MVVM the view model has no reference to the view, while in MVP the view knows the presenter.

Read more

Why we are using MVVM?

Why MVVM with Clean Architecture? MVVM separates your view (i.e. Activity s and Fragment s) from your business logic . MVVM is enough for small projects, but when your codebase becomes huge, your ViewModel s start bloating. Separating responsibilities becomes hard.

Read more