Member-only story

Introduction to RxJava

Foundations to the powers of Reactive Programming for Android Developers

Dhananjay Trivedi
6 min readAug 10, 2021

RxJava is a really handy set of library for you to upgrade your Android Development skill set. A lot of companies use this in their projects and it turns out to be a must have skill to have as an Android Developer hence here I am simplifying it for you.

Yes, it helps you write Reactive code but so does the Android Jetpack components like Live Data, but there is no one best solution.

RxJava is not the best thing to use in all the cases, in some cases Live Data is better, in others RxJava is better.

Once you learn about RxJava you can make those decisions yourself. So enough talk, let’s get started.

RxAndroid or RxJava?

RxJava and RxAndroid is not the same thing but not that different either. RxJava is the library which was built to add the features of Reactive Programming to Java to assist Java Programmers with the same.

Rx Android as a library was built on top of RxJava to assist Android Developers to use RxJava seamlessly. For example, Scheduler provided by RxAndroid library helps you schedule your multi threaded tasks to the main or any other thread.

Adding Dependency

--

--

Dhananjay Trivedi
Dhananjay Trivedi

Written by Dhananjay Trivedi

Android | Flutter | App Developer | Product Management | Prompt Engineer who loves writing and sharing knowledge

No responses yet