Android Mvp Architecture

This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView
Alternatives To Android Mvp Architecture
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Android Mvp Architecture4,425
10 days ago40apache-2.0Java
This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView
Android Mvvm Architecture2,877
6 months ago40apache-2.0Java
This repository contains a detailed sample app that implements MVVM architecture using Dagger2, Room, RxJava2, FastAndroidNetworking and PlaceholderView
Android Kotlin Mvp Architecture687
6 months ago17apache-2.0Kotlin
This repository contains a detailed sample app that implements MVP architecture in Kotlin using Dagger2, Room, RxJava2, FastAndroidNetworking and PlaceholderView
Android Mvp Interactor Architecture401
6 months ago11apache-2.0Java
Extension of the android-mvp-architecture for very large projects.
Eggs Android2
6 years agoapache-2.0Java
Practice version of MVP
Android Mvp Architecture2
5 years agoKotlin
This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView
Androidmvpsampal2
4 years agoJava
mvp + rx java + di
Smarthotel220java1
5 years agomitJava
Experimental mobile client on Java for SmartHotel220 project.
Crm1
4 years agoJava
Android Mvvm1
6 years ago
Latest android practices ( MVVM, Dagger 2.11 , Architecture components, rxJava )
Alternatives To Android Mvp Architecture
Select To Compare


Alternative Project Comparisons
Readme

Android MVP Architecture: Sample App

This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava, FastAndroidNetworking, PlaceHolderView and AndroidDebugDatabase




Architecture Blueprint

Blueprint

Project Structure

Structure

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

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

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.
  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. Dagger2: janishar/android-dagger2-example
  2. PlaceHolderView: janishar/PlaceHolderView
  3. Calligraphy: chrisjenx/Calligraphy
  4. GreenDao: http://greenrobot.org/greendao/
  5. ButterKnife: http://jakewharton.github.io/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. Android Tinder Swipe View Example
  5. RxJava Anatomy: What is RxJava, how RxJava is designed, and how RxJava works.
  6. Powerful Android ORM: greenDAO 3 Tutorial

Looking for MVVM Architecture - Check here

Looking for Kotlin MVP Architecture - Check 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.

MVP template

When we follow any architecture pattern like MVP, MVVM, MVP clean, we always come across a small but repetitive task to create basic files like Android Activity, Presenter, View, Api models and then writing boiler plate code. This usually takes 1-2 hours for each single screen. To ease out work and save time We have created an automated template which will do above work in less than 20 seconds.

How to Install

Find the template/MVPActivity folder under root directory of android-mvp-architecture app. Paste the MVPActivity folder at below location.

  1. Windows - C:\Program Files\Android\Android Studio\plugins\android\lib\templates\activities
  2. Mac - /Applications/Android/Studio.app/Contents/plugins/android/lib/templates/activities

Restart the Android Studio.

Blueprint

How to use

Select the folder under which you want to create a new MVP folder. This MVP folder will contain Activity, Presenter, MVpPresenter and View class. For example, to create a new MVP folder under view folder, do as shown below.

Blueprint

License

   Copyright (C) 2022 JANISHAR ALI ANWAR

   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

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Contributing to Android MVP Architecture

All pull requests are welcome, make sure to follow the contribution guidelines when you submit pull request.

Popular Placeholderview Projects
Popular Rxjava Projects
Popular User Interface Components Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Rxjava
Rxjava2
Mvp
Dagger
Dagger2
Mvp Architecture
Greendao
Rxjava Android
Mindorks
Placeholderview