I just start with architecture components, so I would like to know differences with clean architecture and What is the best way to implement with MVP.
How to integrate ViewModel with presenter. I appreciate any help with this
I just start with architecture components, so I would like to know differences with clean architecture and What is the best way to implement with MVP.
How to integrate ViewModel with presenter. I appreciate any help with this
Architecture Components are independent libraries made to help make better Android apps. You can fit them in any Architecture based upon on your need.
That said, Google recommends using MVVM architecture in their Architecture Guidelines. Also you can use Presenter
with MVVP architecture.
Take a look at this News Sample app made by following Architecture Guidelines or check out the Clean Architecture with Architecture Components Template by Buffer