Summary
With this chapter, not only did we find out how to write programs using RxJava, but we also saw how to test any aspect of them. We've learned about a few new operators and the BlockingObservables
class too.
The RxJava library has many operators that are not mentioned in this book, but we've studied the more important and useful ones. You can always refer to https://github.com/ReactiveX/RxJava/wiki for the rest. There is also much more regarding subscriptions, backpressure, and the Observable
instance life cycle, but with your current knowledge, it won't be hard to master everything in the library. Remember that this is just a library, a tool to write code. The logic is the important thing here. This way of programming is somewhat different from the procedural one, but once you get into it, it feels natural.
In the next and final chapter, we will learn how to free resources allocated by subscriptions, how to prevent memory leaks, and how to create our own operators that can be chained...