Reactive programming is a programming style where the consumer reacts to the data as it comes in. Asynchronous programming is also called reactive programming. In reactive a programming observables are allowed to propagate event changes to registered observers. "The Observer pattern has done right. ReactiveX is a combination of the best ideas from the Observer pattern, the Iterator pattern, and functional programming." Building blocks for RxJava2.x Observables : Representing sources of data Subscribers (or observers) : Listens to the observables Methods : A set of methods for modifying and composing the data An observable emits items; a subscriber consumes those items. Observables : As mentioned above Observables are the sources for the data. Observable objects that emit a stream of data and then terminate. It can terminate either successfully or with an error. Subscribers : A subscriber objects that subscribe to Observables. An Observer receives a...
Coding Insights is the result of my great desire to learn so I can share and share what I have learned. Here I will talk about technology, new changes in technology and coding skills.