RxJava Reactive Programming
Tags
Summary
Editor's review
Who it's for
A good fit for
- 刚接触 RxJava、希望系统建立概念框架的 Android 开发者
- 已经在项目里用 RxJava,但操作符与 Scheduler 用法常拿不准的工程师
- 想理解 RxJava 内部实现原理、准备阅读源码的 Java 开发者
- 需要为团队新人准备一份 RxJava 入门材料的资深工程师
Not a good fit for
- 完全没有 Java 与 Android 基础、尚未写过异步代码的读者
- 希望直接学习最新版 RxJava 与 Spring WebFlux 响应式栈的读者
- 期望获得大量完整商业项目级架构讲解的架构师
Reading tips
- 先通读第 1 章与第 4 章,建立数据流与订阅关系的整体图景,再回头细读操作符。
- 第 2 章不必一次读完,可把它当作速查手册,遇到具体需求时按类别翻阅对应操作符。
- 阅读第 4、5 章时打开 IDE 跟着敲示例,改参数、加日志观察线程切换与数据流动。
- 读完第 6 章后对照官方文档整理一份 RxJava 1 与当前版本的差异清单,避免沿用旧写法。
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- Chapter 1 Entering the World of RxJava: 1.1 Reactive Programming; 1.2 What Is RxJava; 1.3 Observable and Subscriber; 1.4 Adding RxJava to an Android Project
- Chapter 2 Operators in RxJava: 2.1 Operators for Creating Observable; 2.2 Operators for Transforming Observable; 2.3 Filtering Operators; 2.4 Combination Operators; 2.5 Error Handling Operators; 2.6 Utility Operators; 2.7 Conditional Operations; 2.8 Aggregate Operators; 2.9 Operators Related to Connectable Observable; 2.10 Custom Operators
- Chapter 3 Thread Scheduling with Scheduler: 3.1 What Is Scheduler; 3.2 Types of Scheduler; 3.3 Summary
- Chapter 4 How RxJava Works: 4.1 Sending and Receiving Data; 4.2 Implementation of Operators; 4.3 Working Principles of Scheduler
- Chapter 5 Practical Examples of RxJava: 5.1 Calculating the Value of π; 5.2 Three-Level Image Caching; 5.3 Accessing the Network with Retrofit and OkHttp; 5.4 Using RxLifecycle to Avoid Memory Leaks; 5.5 Using RxBinding to Bind Various View Events
- Chapter 6 Improvements in RxJava 2: 6.1 Observable and Flowable; 6.2 Use of null; 6.3 Single and Completable; 6.4 Maybe; 6.5 Subscriber; 6.6 Action and Function; 6.7 Error Handling; 6.8 Scheduler
FAQ
这本书讲的是 RxJava 1 还是 RxJava 2?
没有 Android 开发经验能读懂吗?
书中的示例代码多不多?
这本书适合作为教学或培训教材吗?
和《RxJava 2.x 实战》有什么区别?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.