Awesome Open Source
Awesome Open Source

Android MVP Architecture: Enhanced with Interactors and Repositories: Sample App

Mindorks Mindorks Community

This repository is an extension of the android-mvp-architecture. It breaks the DataManager into Interactors and DbHelper into Repositories. These changes makes it fit for very large projects, for smaller projects the above mentioned repository is better.

This repository contains a detailed sample app that implements MVP architecture enhanced with Interactors and DbRepositories for complete decoupling, using Dagger2, GreenDao, RxJava, FastAndroidNetworking, PlaceHolderView and AndroidDebugDatabase

Architecture Blueprint


Project Structure


Read the below listed articles. They describe the MVP concepts and the Project structure.

  1. Android MVP Architecture Extension with Interactors and Repositories
  2. MVP: Part 1
  3. MVP: Part 2
  4. MVP: Part 3

The app has following packages:

  1. data: It contains all the data accessing and manipulating components.
  2. di: Dependency providing classes using Dagger2.
  3. ui: View classes along with their corresponding Presenters and Interactors.
  4. service: Services for the application.
  5. utils: Utility classes.

Classes have been designed in such a way that it could be inherited and maximize the code reuse.

Library reference resources:

  1. RxJava2:
  2. Dagger2:
  3. FastAndroidNetworking:
  4. PlaceHolderView:
  5. AndroidDebugDatabase:
  6. Calligraphy:
  7. GreenDao:
  8. ButterKnife:

Concept reference resources:

  1. Introduction to Dagger 2: Part 1
  2. Introduction to Dagger 2: Part 2
  3. Android Dagger2: Critical things to know before you implement
  4. The Best Android Networking Library for Fast and Easy Networking
  5. RxJava + Fast Android Networking
  6. Migrating from RxJava 1.0 to RxJava 2.0 and Learn RxJava by Examples
  7. Android Tinder Swipe View Example
  8. Debugging Android Databases And Shared Preferences In The Easiest Way
  9. RxJava Anatomy: What is RxJava, how RxJava is designed, and how RxJava works.
  10. Powerful Android ORM: greenDAO 3 Tutorial

Learn to build a ride-sharing Android app like Uber, Lyft - Check here

Mindorks open source projects

Check out Mindorks awesome open source projects here

How do I use this project?

This is a boilerplate project aimed to help bootstrap new Android MVP Applications. Feel free to fork this application or use AndroidStarters to create new app using this boilerplate.



   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   See the License for the specific language governing permissions and
   limitations under the License.

Contributing to Android MVP Architecture

Just make pull request. You are in!

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Rxjava (1,341
Mvp (1,211
Blueprint (306
Dagger (271
Related Projects