All Projects → shusheng007 → AndroidMvpSample

shusheng007 / AndroidMvpSample

Licence: other
Demonstrate a way that how to user MVP architecture in Android development

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to AndroidMvpSample

MVPDemo
MVP 封装
Stars: ✭ 81 (+478.57%)
Mutual labels:  mvp
mvp-docs
The Unofficial MVP Contribution Guide:
Stars: ✭ 18 (+28.57%)
Mutual labels:  mvp
Fineract-CN-mobile
DEPRECATED project - Check the Apache fineract-cn-mobile project instead
Stars: ✭ 17 (+21.43%)
Mutual labels:  mvp
WanAndroidMaster
根据 http://www.wanandroid.com 提供api ,编写 包含 Material Design + MVP + Rxjava2 + Retrofit + Glide项目
Stars: ✭ 74 (+428.57%)
Mutual labels:  mvp
EdgeMvp
一个MVP架构利器。自动生成接口文件,且不需要实现接口。
Stars: ✭ 56 (+300%)
Mutual labels:  mvp
mvp4g
A framework to build a gwt application the right way
Stars: ✭ 29 (+107.14%)
Mutual labels:  mvp
sirius
Modern coffeescript/javascript framework
Stars: ✭ 20 (+42.86%)
Mutual labels:  mvp
uv-index
This is a work-in-progress (🔧️) ultraviolet index viewer app for demonstrating Instant Apps + Kotlin + Dagger + MVP
Stars: ✭ 64 (+357.14%)
Mutual labels:  mvp
Prevailer-orientation-support-library-for-Android
Prevailer is a simple android library that helps in preserving object instances across orientation change in android and is JAVA 8 and MVP ready.
Stars: ✭ 17 (+21.43%)
Mutual labels:  mvp
BookReader
📕 "任阅" 网络小说阅读器,3D翻页效果、txt/pdf/epub书籍阅读、Wifi传书~
Stars: ✭ 6,113 (+43564.29%)
Mutual labels:  mvp
GithubApp-android-architecture
Let's learn a deep look at the Android architecture
Stars: ✭ 16 (+14.29%)
Mutual labels:  mvp
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 (+7.14%)
Mutual labels:  mvp
application
✨ Extra contrib to nette/application (@nette)
Stars: ✭ 23 (+64.29%)
Mutual labels:  mvp
MVPFrame
Android MVPFrame Simple Demo. and Recycler lazy load data
Stars: ✭ 72 (+414.29%)
Mutual labels:  mvp
Clean Marvel Kotlin
This repository contains a detailed sample app that implements Clean architecture and MVP in Kotlin using RxJava2, Retrofit
Stars: ✭ 27 (+92.86%)
Mutual labels:  mvp
Reader
📚 MVP + Volley + Gson, 内容包含了糗事百科,煎蛋,和内涵段子
Stars: ✭ 60 (+328.57%)
Mutual labels:  mvp
idreminder
Simple reminder app build with Kotlin + Clean Architecture + RxJava + Dagger2 + MVP + Room
Stars: ✭ 29 (+107.14%)
Mutual labels:  mvp
nimble
Nimble is a small, quick and flexible Model-View-Presenter(MVP) library for Android.
Stars: ✭ 24 (+71.43%)
Mutual labels:  mvp
WanAndroid
Kotlin版 玩Android 客户端
Stars: ✭ 37 (+164.29%)
Mutual labels:  mvp
Villains-and-Heroes
Android app built with MVP architectural approach and uses Marvel Comics API that allows developers everywhere to access information about Marvel's vast library of comics. ⚡
Stars: ✭ 53 (+278.57%)
Mutual labels:  mvp

AndroidMvpSample

This project is used demonstrate how to user MVP architecture in Android development。

I made two implementations version,the enhance version used to solve potential memory leak problem. when your app make a request to remote server,it need a period of time to back ,but if you cancel the Activity or Fragment where make the request in the period,the Activity or Fragment instance referenced by the presenter can not released, memory leak happend. In the enhance version I let the Presenter hold a WeakReference of View (Activity or Fragment) to prevent memory leak。

If you not allow user cancle a operation before it finished(eg: call a remote server and wait until the result back) the normal version is qualified,but I recommend you use the enhance version.

中文教程地址

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].