RxJava 2.x in Action
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已经会写 Java 或 Kotlin、想系统入门响应式编程的开发者
- 正在做 Android 开发,希望用 RxJava 改善异步与事件处理的工程师
- Java 后端开发者,想了解 RxJava 在服务端与 Spring Boot 中的用法
- 对函数式编程感兴趣、希望从实践角度切入的 IT 从业者
Not a good fit for
- 完全没有 Java 基础、第一次学习编程的读者
- 只想查阅 RxJava 最新版 API 文档、不需要系统讲解的人
- 期待深入剖析 RxJava 源码实现细节的进阶读者
Reading tips
- 第1—4章务必按顺序读,概念和线程模型是后续所有操作符的基础。
- 第5—7章的操作符建议边读边写示例运行,重点记住彼此的差异而非全部细节。
- 第11—15章的实战案例可挑与自己方向相关的一两条动手复现,不必全做。
- 书中代码基于 RxJava 2.x,实践时对照官方文档确认 API 是否有变更或弃用。
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 Introduction to RxJava
- Chapter 2 RxJava Basics (Observable, Hot/Cold Observable, Flowable, Single/Completable/Maybe, Subject and Processor)
- Chapter 3 Creation Operators (create, just, from, repeat, defer, interval, timer)
- Chapter 4 Thread Operations in RxJava (Types of Schedulers, Threading Model, Testing Scheduler)
- Chapter 5 Transformation and Filtering Operators (map, flatMap, groupBy, buffer, window, first/last, take/skip, distinct/filter, debounce)
- Chapter 6 Conditional and Boolean Operators (all, contains, amb, defaultIfEmpty, sequenceEqual, skipUntil/skipWhile, takeUntil/takeWhile)
- Chapter 7 Combination and Connecting Operators (merge, zip, combineLatest, join, startWith, connect, push, refCount, replay)
- Chapter 8 Backpressure in RxJava
- Chapter 9 Using Disposable and Transformer (RxLifecycle, AutoDispose)
- Chapter 10 Parallel Programming in RxJava (ParallelFlowable)
- Chapter 11 Using RxBinding (with RxPermissions)
- Chapter 12 Using RxAndroid 2.x and Retrofit
- Chapter 13 Developing an Event Bus
- Chapter 14 Wrapping HttpClient 4.5 with RxJava
- Chapter 15 Spring Boot and RxJava 2
- Chapter 16 Functional Programming in Java 8 (Lambda, Stream, Currying, CompletableFuture)
- Chapter 17 Kotlin and RxJava
- Chapter 18 Looking to the Future
- Appendix A Common RxJava Operator List
- Appendix B Common Libraries in RxJava
FAQ
这本书讲的是 RxJava 1 还是 RxJava 2?
没有响应式编程基础能直接读吗?
书中的实战案例偏向 Android 还是后端?
这本书现在读会不会过时?
每章都有练习题或项目吗?
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.
About the author
Shen Zhe is an author about whom limited public information is available; all that is currently known is a single management work, Multi-attribute Decision-making Methods Considering Decision Makers' Risk Preferences and Visions. The title indicates a focus on multi-attribute decision making, a core topic in management science and operations research, into whose traditional framework the author introduces two subjective dimensions—decision makers' risk preferences and visions—in an attempt to bring decision models closer to real management situations. Such a topic is typically aimed at researchers, graduate students and management practitioners, with an emphasis on methodological rigor and practicality. Because biographical and academic background information is lacking, the author's writing style and influence cannot yet be fully assessed; the choice of subject nonetheless shows a concern with the human factor in decision analysis and an interest in combining theoretical tools with practical judgment.