现在Android的框架整的最火的应该就是属MVP+RxJava+Retrofit+Okhttp了吧,加入你还没有学,那就抓紧吧,特此整理一些github上的开源项目,供大家参考一同学习,也感谢各位大神的开源。
1.地址:https://github.com/googlesamples/android-architecture
Google给出的MVP的例子,必须看有木有,算是MVP的一种规范了,代码不算多,逻辑清晰,挺容易学习,内部使用大量的Design包下的控件,也能顺便学了。包括很多的demo,各有不同,由简入难肯定会收货匪浅的,
Stable samples
| Sample | Description |
|---|---|
| todo‑mvp | Demonstrates a basic Model‑View‑Presenter (MVP) architecture and provides a foundation on which the other samples are built. This sample also acts as a reference point for comparing and contrasting the other samples in this project. |
| todo‑mvp‑loaders | Fetches data using the Loaders API. |
| todo‑databinding | Uses the Data Binding Library. |
| todo‑mvp‑clean | Uses concepts from Clean Architecture. |
| todo‑mvp‑dagger | Uses Dagger2 to add support for dependency injection. |
| todo‑mvp‑contentproviders | Based on the todo-mvp-loaders sample, this version fetches data using the Loaders API, and also makes use of content providers. |
| todo‑mvp‑rxjava | Uses RxJava to implement concurrency, and abstract the data layer. |
Samples in progress
| Sample | Description |
|---|---|
| dev‑todo‑mvp‑tablet | Adds a master and detail view for tablets. |
| dev‑todo‑mvvm‑databinding | Based on the todo-databinding sample, this version incorporates theModel‑View‑ViewModel pattern. |
| dev‑todo‑mvvm‑rxjava | Based on the todo-rxjava sample, this version incorporates the Model‑View‑ViewModelpattern. |
For information about planned samples, see "New sample" issues.
External samples
External samples are variants that may not be in sync with the rest of the branches in this repository.
| Sample | Description |
|---|---|
| todo‑mvp‑fragmentless | Uses View objects instead of Fragment objects. |
| todo‑mvp‑conductor | Uses the Conductor framework to refactor the app to use a single Activity architecture. |
2:地址:https://github.com/chentao0707/SimplifyReade
一款基于Google Material Design设计开发的Android客户端,包括新闻简读,图片浏览,视频爽看 ,音乐轻听以及二维码扫描五个子模块。项目采取的是MVP架构开发,由于还是摸索阶段,可能不是很规范。但基本上应该是这么个套路,至少我个人认为是这样的~恩,就是这样的!
不错的项目,3500个start,这就是实力啊,有木有,抓紧学习起来,弘扬大神也曾推荐,
3.:地址http://www.jianshu.com/p/464fa025229e
简书的文章,讲解Rxjava2.0,讲解的很详细,很棒的文章,一共有九篇,强烈推荐
4:完整的NBA第三方Android客户端
本项目采用 MaterialDesign + MVP + Retrofit2 开发,包含评论、直播、论坛等功能


本文介绍Android开发中流行的MVP架构结合RxJava、Retrofit及OkHttp的应用实践,并推荐多个高质量开源项目,涵盖从基础到进阶的学习资源。
398

被折叠的 条评论
为什么被折叠?



