项目
在 GitHub 查看
mgp/effective-rxjava
关于
高效使用 RxJava
学习与教育实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Effective RxJava
This is a collection of items, each specifying one general rule, to help you write RxJava code more effectively. It is modeled after two of my favorite technical books, Effective C++ and Effective Java. I appreciate not only the soundness of their contents, but the brevity of their writing style. I hope that Effective RxJava has the same value proposition.
For each rule I've attempted to provide relevant example code -- most of which is currently in production in the Khan Academy Android app.
Items
- Use Retrolambda
- Emit immutable values
- Understand
Observableand observer chains - Convert functions to
Observable - Convert callbacks to
Observable - Understand
subscribeOnandobserveOn - Understand
switchMap - Test emitted values using
TestObserver - Test work scheduling using
TestScheduler - Use
composefor operator sequences - Optimize your subscribers
探索相关项目
加载中…