MVP+RxJava+Retrofit_Okhttp框架优秀开源项目推荐

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

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

现在Android的框架整的最火的应该就是属MVP+RxJava+Retrofit+Okhttp了吧,加入你还没有学,那就抓紧吧,特此整理一些github上的开源项目,供大家参考一同学习,也感谢各位大神的开源。

1.地址:https://github.com/googlesamples/android-architecture

Google给出的MVP的例子,必须看有木有,算是MVP的一种规范了,代码不算多,逻辑清晰,挺容易学习,内部使用大量的Design包下的控件,也能顺便学了。包括很多的demo,各有不同,由简入难肯定会收货匪浅的,

Stable samples

SampleDescription
todo‑mvpDemonstrates 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‑loadersFetches data using the Loaders API.
todo‑databindingUses the Data Binding Library.
todo‑mvp‑cleanUses concepts from Clean Architecture.
todo‑mvp‑daggerUses Dagger2 to add support for dependency injection.
todo‑mvp‑contentprovidersBased on the todo-mvp-loaders sample, this version fetches data using the Loaders API, and also makes use of content providers.
todo‑mvp‑rxjavaUses RxJava to implement concurrency, and abstract the data layer.

Samples in progress

SampleDescription
dev‑todo‑mvp‑tabletAdds a master and detail view for tablets.
dev‑todo‑mvvm‑databindingBased on the todo-databinding sample, this version incorporates theModel‑View‑ViewModel pattern.
dev‑todo‑mvvm‑rxjavaBased 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.

SampleDescription
todo‑mvp‑fragmentlessUses View objects instead of Fragment objects.
todo‑mvp‑conductorUses 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 开发,包含评论、直播、论坛等功能



评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值