最近这几天在学习MVP 模式,也是学的一塌糊涂,所以参考Google 的文章和Github 的项目来学习,所以来汇总一些好的文章和项目。
我们都知道MVC 模式,MVP 就是基于MVC 的模式上的一个演化版本。在MVC模式中,Activity应该是属于View这一层。而实质上,它既承担了View,同时也包含一些Controller的东西在里面。随着项目的迭代更新,这对开发很不友好,耦合度也原来越高,项目越来越难维护,而MVP 就是解决这样的痛点。把Activity的View和Controller抽离出来就变成了View和Presenter。
- dependency-injection at master - android-cn/blog
- Android MVP模式 简单易懂的介绍方式 - Kaede's Studio
- Dagger on Android-Dagger2详解
- Android Basic Project Architecture for MVP — mobiwise blog — Medium
- A useful stack on android #1, architecture · Saúl Molinero
- MVP for Android: how to organize the presentation layer
- Dependency injection on Android: Dagger (Part 1)
- Dependency injection on Android: Dagger (Part 2)
- Dagger: Scoped object graphs (Part 3)
- MVP模式在Android开发中的应用 - Vector_Yi的专栏 - 博客频道 - CSDN.NET
- android-tech-frontier/androidweekly/ 一种在android中实现MVP模式的新思路
- Android中的MVP | Rocko's blog
- [Android Basic Project Architecture for MVP — mobiwise blog — Medium](Android MVP — An Alternate Approach)
- 用MVP架构开发Android应用|开源实验室 - 张涛
- antoniolg/androidmvp
MVP Android Example - kymjs/TheMVP
An Android MVP Architecture Diagram Framwork.
- rallat/EffectiveAndroid
This sample project shows how to apply MVP and Clean architecture on an Android app - saulmm/Material-Movies
An application about movies with material design - glomadrian/MvpCleanArchitecture
A sample project using Clean architecture and MVP in Android - grandstaish/hello-mvp-dagger-2
Android MVP example code using RxJava, Retrolambda, Dagger 2, and more - yydcdut/PhotoNoter
Material Design风格的开源照片笔记。(MVP+Dagger2+RxJava+Dex分包异步加载) - antoniolg/DaggerExample
Android project using Dagger library - bduncavage/recyclerViewToTheRescue
Examples of how to use RecyclerView to achieve complex list UIs