In the previous post we created an Observable and emitted data using the onNext() method. We have a subscriber who receives the data when the publisher pushes the data. How about play with the data-receival a bit? We have the […]
In the previous post we wrote a HelloWorld program where we created a publisher using Observable and subscribed to it. Let’s extend this. Let’s have a collection of cities. We would like to get the temperature of these cities. To […]
RxJava2 is the library for Reactive programming in Java. Let’s get started with a very simple piece of code. In Reactive Programming, we have a publisher and a subscriber. Publisher publishes(or Pushes) data to a subscriber. When the subscriber receives […]