2-Android Development With Java 1 PDF
2-Android Development With Java 1 PDF
Instructor:
1. Suryo Adhi Wibowo, S.T., M.T., Ph.D.
2. Rissa Rahmania, S.T., M.T.
3. Gelar Budiman, S.T., M.T.
Application Framework
Activity Window Content View
Manager Manager Provider System
Linux Kernel
Display Driver Camera Driver Flash Memory Driver Binder (PC) Driver
Keypad Driver WiFi Driver Audio Drivers Power Management
• View – provides the interaction that the user sees (typically, a web page). The view
components provide data to the user and send actions to the Controller for manipulating
data.
• Model – defines the data for the application (typically, the data is stored in a database).
• Controller – basically, provides the interface between the View and the Model.
patricksoftwareblog.com
MVC: Three components – View (your UI), Model (your business entities / data – that view is
displaying) & Controller (contains the logic that alters the model depending on the action triggered by
UI, typically implementing a Use Case).
MVP: Again three components. But dependencies change (look at arrows in the diagram). Over here
we replace Controller with Presenter (one which presents the changes done in model back to view).
MVVM: Model–View-ViewModel talks of creating a new model (in addition to your domain model).
This model normally adds additional properties from the prespective of View (as we understand that
View has controls in addition to data which it’s displaying).
Telkom University 7 Bandung, 12 Desember 2018 7727
Tying it all Together (8/17)
is based on
Ant
turns into
compiled with
Maven Builds
Gradle Builds
Local files
Project itself
ANDROID APK
All sources and Jars
are combined into
Debug QA Release APK