You can find the examples from this chapter on GitHub, at the following link: https://github.com/PacktPublishing/Learn-Spring-for-Android-Application-Development/tree/master/app/src/main/java/com/packt/learn_spring_for_android_application_development/chapter8.
To integrate the Reactor library into your project, add the following line to the repositories section of the build.gradle file:
maven { url 'https://repo.spring.io/libs-milestone' }
Add the following line to the dependencies section:
implementation "io.projectreactor:reactor-core:3.2.2.RELEASE"
The Reactor library works with a version of the Java Development Kit (JDK), 8 or above. So, we should add the following line to the Android section:
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
To integrate the RxJava library...