How annoying is it for the users when your application freezes and closes without any reason? If you want to keep your Android application responsive, it is important to avoid using the main thread to perform any operation that may end up keeping it blocked. Network operations and database calls are the most common examples of operations that you should NOT call on the main thread, and RxJava gives you the tools to do it properly.

RxJava is single-threaded by default which means that an Observable(source that emits data) and the chain of operators that we can apply to it…

Dawid Wiącek

Android Developer at TUI Group

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store