android tutorial - Developer android | Installation and Setup in RX Android - android app development - android studio - android app developement
Add the rx-android dependency as well as a current version of rx-java to the build.gradle.
Because RxAndroid releases are few and far between, it is recommended you also explicitly depend on RxJava's latest version for bug fixes and new features.
Rx1
Rx2
The use any Android Scheduler, create it with AndroidSchedulers.mainThread() or AndroidSchedulers.from(anyLooper) directly and without any further configuration.