RxJava and Other Reactive Streams
Learn about the alternative approach in Java and see the solution to thread-switching problems with the successor Reactor.
We'll cover the following...
We'll cover the following...
An alternative approach that is popular in Java (both in Android and backend) is using reactive streams (or Reactive Extensions): RxJava, or its successor, Reactor. With this approach, all operations happen inside a data stream that can be started, processed, and observed. These streams support thread switching and concurrent processing, so they're often used to parallelize processing in ...