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…
Android Developer at TUI Group