Difference Between Flatmap and Switchmap in RxJava 1. Overview RxJava provides various operators to transform items emitted by an observable into other observables. Two of the most popular operators are flatMap and switchMap. The difference between the two is often hard to understand for beginners in reactive programming. For an… Continue Reading rxjava-flatmap-switchmap

Filtering Observables in RxJava 1. Introduction Following the Introduction to RxJava, we’re going to look at the filtering operators. In particular, we’re going to focus on filtering, skipping, time-filtering, and some more advanced filtering operations. 2. Filtering When working with Observable, sometimes it’s useful to select only a subset of… Continue Reading rxjava-filtering

Combining Observables in RxJava 1. Introduction In this quick tutorial, we’ll discuss different ways of combining Observables in RxJava. If you’re new to RxJava, definitely check out this intro tutorial first. Now, let’s jump right in. 2. Observables Observable sequences, or simply Observables, are representations of asynchronous data streams. These’re… Continue Reading rxjava-combine-observables