Why Rx java and Rx Android ?


RxJava is a Java VM implementation of ReactiveX a library for composing asynchronous and event-based programs by using observable sequences. RxJava follows the Observer pattern.

  1. - Building blocks of RxJava are Observables and Subscribers.
  2. - Observable is used for emitting items.(0 to n items)
  3. - Subscriber is used for consuming those items.



Following are points consider while using in project:

  1. Asynchronous streams
  2. Functional approach
  3. Caching is easy
  4. Operators with Schedulers
  5. Using of Subjects

Comments

Popular posts from this blog

Android Interview question

A complete guide to learn Android Development