Summary
In this final chapter, we learned how to use RxJava
, an open source library that helps to process our Android application data or event streams using functional and reactive processing pipelines.
In the first sections, we learned in detail some of RxJava
basic building blocks—Observable
, Observer
, and Subscriber
.
Next, we introduced some of RxJava
most common operators that are able to manipulate, transform, and combine event streams generated by an Observable
.
In order to perform operations asynchronously and concurrently, we learned about the Scheduler
, a magic RxJava
entity that controls the concurrency, and is able to schedule RxJava
units of work to run in background threads and feed the results back to the main Android Thread.
Next, using custom Observables
and combining operators, we learned how to associate and compose interdependent complex blocking or long computing operations, such as REST API network operation.
In the meantime, we also learned how to react to a custom...