MVP Showcase

Additional

Language
Java
Version
N/A
Created
Dec 20, 2016
Updated
Mar 24, 2017 (Retired)
Owner
ahmed.eltaher (ahmedeltaher)
Contributor
ahmed.eltaher (ahmedeltaher)
1
Activity
Badge
Generate
Download
Source code
APK file

Commercial

What is MVP ?

  • View : is a layer that displays data and reacts to user actions. On Android, this could be an Activity, a Fragment, an android.view.View or a Dialog.
  • Model : is a data access layer such as database API or remote server API.
  • Presenter: is a layer that provides View with data from Model. Presenter also handles background tasks.

Android MVP is a way to separate Business logic from activities/views/fragments to make them independent of most lifecycle-related events. This way an application becomes simpler, overall application reliability increases up to 10 times, application code becomes shorter, code maintainability becomes better and developer's life becomes happier.