All Projects → MindorksOpenSource → Android Mvp Architecture

MindorksOpenSource / Android Mvp Architecture

Licence: apache-2.0
This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView

Programming Languages

java
68154 projects - #9 most used programming language
FreeMarker
481 projects

Projects that are alternatives of or similar to Android Mvp Architecture

Android Mvvm Architecture
This repository contains a detailed sample app that implements MVVM architecture using Dagger2, Room, RxJava2, FastAndroidNetworking and PlaceholderView
Stars: ✭ 2,720 (-37.61%)
Mutual labels:  rxjava, rxjava2, dagger2, android-architecture, fast-android-networking, placeholderview, mindorks
Mvpframes
整合大量主流开源项目并且可高度配置化的 Android MVP 快速集成框架,支持 AndroidX
Stars: ✭ 100 (-97.71%)
Mutual labels:  rxjava, rxjava2, rxjava-android, dagger2, mvp, dagger
AndroidMVPArchitecture
Android MVP architecture sample project with or without RxJava and Dagger2 and Kotlin
Stars: ✭ 78 (-98.21%)
Mutual labels:  rxjava, mvp, dagger, dagger2, mvp-architecture, android-mvp-architecture
Android Kotlin Mvp Architecture
This repository contains a detailed sample app that implements MVP architecture in Kotlin using Dagger2, Room, RxJava2, FastAndroidNetworking and PlaceholderView
Stars: ✭ 615 (-85.89%)
Mutual labels:  rxjava, rxjava2, rxjava-android, dagger2, mvp, mvp-architecture
Armscomponent
📦 A complete android componentization solution, powered by MVPArms (MVPArms 官方快速组件化方案).
Stars: ✭ 1,664 (-61.83%)
Mutual labels:  rxjava2, dagger2, mvp, android-architecture, mvp-architecture
Weather-Guru-MVP
Sample Material-design Android weather application build with MVP architectural approach using Dagger2, RxJava2, Retrofit2, Event-Bus, GreenDao, Butterknife, Lottie etc.
Stars: ✭ 15 (-99.66%)
Mutual labels:  mvp, dagger2, rxjava2, mvp-architecture, greendao
Bigbang
Android base project used by Xmartlabs team
Stars: ✭ 47 (-98.92%)
Mutual labels:  rxjava, rxjava2, dagger2, mvp, dagger
Mvparms
⚔️ A common architecture for Android applications developing based on MVP, integrates many open source projects, to make your developing quicker and easier (一个整合了大量主流开源项目高度可配置化的 Android MVP 快速集成框架).
Stars: ✭ 10,146 (+132.71%)
Mutual labels:  rxjava, dagger2, mvp, android-architecture, mvp-architecture
UTair-MVP-Sample
Android Clean Architecture + MVP Sample written in Kotlin
Stars: ✭ 27 (-99.38%)
Mutual labels:  mvp, dagger, android-architecture, dagger2, rxjava2
Mvpapp
Android MVP Architecture
Stars: ✭ 2,354 (-46.01%)
Mutual labels:  rxjava, greendao, dagger2, mvp
Marvel
Marvel Characters Android Application Assigned by smava GmbH
Stars: ✭ 227 (-94.79%)
Mutual labels:  rxjava, rxjava-android, mvp, dagger
AndroidVIP
Android project to experiment the VIPER approach using mosby, RxJava and dagger2
Stars: ✭ 21 (-99.52%)
Mutual labels:  dagger, dagger2, rxjava2, rxjava-android
Android Mvp Interactor Architecture
Extension of the android-mvp-architecture for very large projects.
Stars: ✭ 388 (-91.1%)
Mutual labels:  rxjava, greendao, mvp, dagger
Androidbasemvp
🚀一个快速搭建MVP+RxJava2+Retrofit 基础框架,主要是封装有Http网络请求、日志、缓存、加载等待、toast、页面状态布局管理、权限、RxBus、Glide图片加载等组件,方便快速开发新项目、减少开发成本。
Stars: ✭ 184 (-95.78%)
Mutual labels:  rxjava, rxjava2, mvp, mvp-architecture
Android Developer Roadmap
Android Developer Roadmap - A complete roadmap to learn Android App Development
Stars: ✭ 2,170 (-50.23%)
Mutual labels:  rxjava, rxjava2, android-architecture, mindorks
GithubApp-android-architecture
Let's learn a deep look at the Android architecture
Stars: ✭ 16 (-99.63%)
Mutual labels:  mvp, android-architecture, dagger2, rxjava2
Android Clean Architecture Boilerplate
Apply clean architecture on Android
Stars: ✭ 141 (-96.77%)
Mutual labels:  rxjava, rxjava2, mvp, mvp-architecture
android-template
Template for android development at Tiki
Stars: ✭ 17 (-99.61%)
Mutual labels:  mvp, dagger2, rxjava2, mvp-architecture
Mvp Dagger2 Rxjava2
Android 基本mvp+dagger(dagger2.android)+rxjava2+retrofit+ormdb框架。简单组件化架构 with Base Activity,Presenter ,View,Model 的抽象封装,http 请求封装&错误统一处理
Stars: ✭ 274 (-93.72%)
Mutual labels:  rxjava2, dagger2, mvp, mvp-architecture
android-online-course
Android Online Course
Stars: ✭ 22 (-99.5%)
Mutual labels:  rxjava, dagger2, rxjava2, rxjava-android

Android MVP Architecture: Sample App

Mindorks Mindorks Community

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. RxJava2: https://github.com/amitshekhariitbhu/RxJava2-Android-Samples
  2. Dagger2: https://github.com/MindorksOpenSource/android-dagger2-example
  3. FastAndroidNetworking: https://github.com/amitshekhariitbhu/Fast-Android-Networking
  4. PlaceHolderView: https://github.com/janishar/PlaceHolderView
  5. AndroidDebugDatabase: https://github.com/amitshekhariitbhu/Android-Debug-Database
  6. Calligraphy: https://github.com/chrisjenx/Calligraphy
  7. GreenDao: http://greenrobot.org/greendao/
  8. 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. 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

Looking for MVVM Architecture for Beginners - Check here

Looking for MVVM Architecture - Check here

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

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) 2017 MINDORKS NEXTGEN PRIVATE LIMITED

   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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].