RxJava 2.x 优秀学习资源

本文整理了RxJava 2.x 的一系列学习资源,包括GitHub项目、简书和CSDN作者的系列教程,覆盖从基础概念到实战操作符的详细讲解,帮助读者全面掌握RxJava 2.x。

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

说明:本文主要是记录Rxjava 2.x 网上优秀博客 链接,便于学习所用.

Rxjava2.x GitHub链接
https://github.com/ReactiveX/RxJava

RxAndroid Github链接
https://github.com/ReactiveX/RxAndroid

一.基础到上手

这个非常推荐简书作者Season_zlc的“水管”系列,相信很多人都看过,看完你就知道为什么叫“水管”系列了~~

给初学者的RxJava2.0教程(一) ------基础性概念及使用
http://www.jianshu.com/p/464fa025229e

给初学者的RxJava2.0教程(二) -----线程控制
http://www.jianshu.com/p/8818b98c44e2

给初学者的RxJava2.0教程(三) ----变换操作符(Map、FlatMap、concatMap)
http://www.jianshu.com/p/128e662906af

给初学者的RxJava2.0教程(四) ----操作符(Zip)
http://www.jianshu.com/p/bb58571cdb64

给初学者的RxJava2.0教程(五) —Backpressure
http://www.jianshu.com/p/0f2d6c2387c9

给初学者的RxJava2.0教程(六) ----自己解决流速不均匀问题
http://www.jianshu.com/p/e4c6d7989356

给初学者的RxJava2.0教程(七) ----Flowable
http://www.jianshu.com/p/9b1304435564

给初学者的RxJava2.0教程(八)----Flowable
http://www.jianshu.com/p/a75ecf461e02

给初学者的RxJava2.0教程(九) ----Flowable
http://www.jianshu.com/p/36e0f7f43a51

给初学者的RxJava2.0教程(十) —与Retrofit结合使用
https://www.jianshu.com/p/d6552d020307


接下来还有简书作者南尘2251的RxJava2系列。

这可能是最好的RxJava 2.x 入门教程(一)
http://www.jianshu.com/p/a93c79e9f689

这可能是最好的RxJava 2.x 入门教程(二)
http://www.jianshu.com/p/b39afa92807e

这可能是最好的RxJava 2.x 入门教程(三)
http://www.jianshu.com/p/e9c79eacc8e3

这可能是最好的RxJava 2.x 入门教程(四)
http://www.jianshu.com/p/c08bfc58f4b6

这可能是最好的RxJava 2.x 入门教程(五)
http://www.jianshu.com/p/81fac37430dd

GitHub 代码同步更新:
https://github.com/nanchen2251/RxJava2Examples

完结版刚好本公众号推送过,可以直接过去这可能是最好的 RxJava 2.x 入门教程(完结版)~

基本上看完就已经对RxJava2有一定的了解了,接下来就是异常强大的操作符的学习了~

二.操作符与实战

CSDN作者余志强的RxJava2操作符系列:

RxJava create操作符的用法和源码分析
http://blog.csdn.net/johnny901114/article/details/51524470

RxJava map操作符用法详解
http://blog.csdn.net/johnny901114/article/details/51531348

RxJava flatMap操作符用法详解
http://blog.csdn.net/johnny901114/article/details/51532776

RxJava concatMap操作符用法详解
http://blog.csdn.net/johnny901114/article/details/51533282

RxJava onErrorResumeNext操作符实现app与服务器间token机制
http://blog.csdn.net/johnny901114/article/details/51533586

RxJava retryWhen操作符实现错误重试机制
http://blog.csdn.net/johnny901114/article/details/51539708

RxJava 使用debounce操作符优化app搜索功能
http://blog.csdn.net/johnny901114/article/details/51555203

RxJava concat操作处理多数据源
http://blog.csdn.net/johnny901114/article/details/51568562

RxJava zip操作符在Android中的实际使用场景
http://blog.csdn.net/johnny901114/article/details/51614927

RxJava switchIfEmpty操作符实现Android检查本地缓存逻辑判断
http://blog.csdn.net/johnny901114/article/details/52585912

RxJava defer操作符实现代码支持链式调用
http://blog.csdn.net/johnny901114/article/details/52597643

combineLatest操作符的高级使用
http://blog.csdn.net/johnny901114/article/details/61191723

还有个非常给力的开源项目,“Learn RxJava By Samples”:
https://github.com/amitshekhariitbhu/RxJava2-Android-Samples

包含非常多的Sample,你也可以在它的README上获得更多信息~

该篇是对该项目的记录,方便速查:

RxJava 知识梳理(2) - RxJava2 操作符实践
http://www.jianshu.com/p/2ddd9bb8b1d7

该作者最近也在写一些实战类的文章:

RxJava2 实战知识梳理(1) - 后台执行耗时操作,实时通知 UI 更新
http://www.jianshu.com/p/c935d0860186

RxJava2 实战知识梳理(2) - 计算一段时间内数据的平均值
http://www.jianshu.com/p/5dd01b14c02a

RxJava2 实战知识梳理(3) - 优化搜索联想功能
http://www.jianshu.com/p/7995497baff5

RxJava2 实战知识梳理(4) - 结合 Retrofit 请求新闻资讯
http://www.jianshu.com/p/74f46ae1fabb

RxJava2 实战知识梳理(5) - 简单及进阶的轮询操作
http://www.jianshu.com/p/fa1828d70192

RxJava2 实战知识梳理(6) - 基于错误类型的重试请求
http://www.jianshu.com/p/d135f19e045c

RxJava2 实战知识梳理(7) - 基于 combineLatest 实现的输入表单验证
http://www.jianshu.com/p/25682d620320

RxJava2 实战知识梳理(8) - 使用 publish + merge 优化先加载缓存,再读取网络数据的请求过程
http://www.jianshu.com/p/dfc11118b70b

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值