Android App Architecture
Separation of Concerns
Simple,
Modular,Testable, Easy
to extend
Handling UI
events
DB and
network
View Logic
Activity / Fragment
MVC | MVP | MVVM
View Controller
Model
User Input
Update Model
Update
Query Latest Data
View Controller ModelPresenter
View Presenter
Contract
CODE
● Saving State
● Android framework code
● Boilerplate
● View to presenter mapping
Android Data Binding
Data Binders
View Model
View
Strong reference
Weak reference
View Controller ModelPresenter
View Presenter
Contract
View Controller ModelView Model
CODE
Thank You

Android app architecture