Android-MVP-Architecture

Additional

Language
Java
Version
N/A
Created
Mar 28, 2018
Updated
Aug 20, 2019
Owner
Ali Asadi (AliAsadi)
Contributor
Ali Asadi (AliAsadi)
1
Activity
Badge
Generate
Download
Source code
APK file

Show card

Android MVP Architecture

A basic sample android application to understand MVP in a very simple way. Just clone, build, run and understand MVP.

Project Structure

Screenshot

The app has following packages:

  1. data: It contains all the data accessing and manipulating components.
  2. ui: View classes along with their corresponding Presenters.
  3. utils: Utility classes.

Key points

  • Using base abstract classes to support MVP methodology while avoiding Activity leaks by releasing the view when it's no longer needed, BasePresenter reasonable to destroy the view onDestroy().

Used libraries:

  1. RoomDatabase
  2. ButterKnife
  3. Retrofit
  4. PowerPreference
  5. Gson
  6. Picasso
  7. Mockito

Feel free to submit any type of issues and suggestions for improving the coding standard

Happy Coding!!!