Book Image

RxJava Essentials

By : Ivan Morgillo
Book Image

RxJava Essentials

By: Ivan Morgillo

Overview of this book

<p>RxJava—Reactive Extensions for the JVM—is a library for composing asynchronous and event-based programs using Observable sequences for the Java VM, which will help you beat Android platform limitations to create astonishing Android apps.</p> <p>Starting with some quick background information on the Rx .NET library, this book quickly moves on to your first example. You will understand Observables and learn to filter, transform, or merge them in detail. Next, you will learn how to get rid of Threads, AsyncTasks, and Handlers with Schedulers to create a smooth user experience. Develop an easy, ready-to-go approach to REST API communications and enrich your skills by working with new challenging examples.</p> <p>By the end of the book, you will have explored the reactive programming world and will have created your first Android app without having to think about threading, networking, concurrency, and collection management.</p> <p>The images have been taken from&nbsp;<a href="http://reactivex.io/" target="_blank">http://reactivex.io/</a> which is licensed under a Create Commons 3.0 Attribution license (<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a>)</p>
Table of Contents (15 chapters)

Summary


Our journey ends here. You are ready to bring your Java apps to a new code quality level. You can now enjoy a new coding paradigm and approach your daily programming life with a more fluid mindset. RxJava gives you the opportunity to think about data in a time-oriented way: everything is continuously changing, data is getting updated, events are getting triggered, and you can now create apps that react to these events, are flexible, and run smoothly.

Switching to RxJava can look hard and time consuming at the beginning, but we experienced how effective it can be to approach everyday problems in a reactive way. Now you can start porting your old code to RxJava: give those synchronous getters a new reactive life!

RxJava is an evolving and expanding world. There are lots of methods out there that we couldn't explore. There are methods that are not even there yet, because with RxJava, you can create your own operators and push them even further.

Android is a great place to play, but it...