Summary
In this chapter, we looked at reactive programming and how it can help us to handle asynchronous events. We also introduced the React and RxJava libraries that provide classes such as Mono, Flux, Single, and Observable, which follow reactive programming concepts.
Reactive programming allows us to use different thread schedulers to process and transform events with multithreading. The Blocking and Non-Blocking section showed us how to work with thread schedulers. You also learned that reactive programming is based on the Observer pattern.
Modern Android applications handle a lot of different asynchronous events, such as user interactions and push notifications. Learning about Reactive programming is important, because it can help ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access