About this project
RxAndroid is the Android-specific binding layer for RxJava 3, maintained by ReactiveX. Its stated goal is to add the minimum set of classes needed to make reactive programming in Android applications straightforward.
Core capability: the library supplies a Scheduler that schedules work on the Android main thread or on any specified Looper. This lets developers declare where an Observable should be observed without hand-rolling thread handling.
Typical usage shown in the README: an Observable is subscribed on a background scheduler and observed on the main thread via AndroidSchedulers.mainThread(), so results are delivered through onNext on the UI thread. A more general form uses AndroidSchedulers.from(backgroundLooper) to bind asynchronous communication to an arbitrary Android message loop.
Distribution and build: artifacts are published to Maven Central under the io.reactivex.rxjava3 group (rxandroid), with development snapshots in Sonatype's snapshots repository. The README recommends also depending explicitly on the latest RxJava 3.x release, since RxAndroid releases are infrequent. The project builds with Gradle (./gradlew build), and a sample-app folder contains runnable examples.
Community and licensing: discussion happens through the RxJava Google Group, StackOverflow's rx-android tag, Twitter, and GitHub Issues. The code is licensed under Apache License 2.0.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.