RxJava is a great alternative to the current state of multithreading in Android.
If you’re into Android (and Java) development, there is a good chance you’ve already heard about RxJava, which is a Java implementation of Reactive Extensions developed by Netflix. Reactive Extensions is a library to compose asynchronous and event-based programs using observable collections and LINQ-style query operators, quoted from the corresponding MSDN site. Netflix made the library available for the public on Github, supporting Java 6 or newer, making it available to use with Android apps as well.
This post is the first in a series about RxJava and Android. It is a tutorial, which will show you how to build a REST API client in Android with RxJava observables (and based on Square’s Retrofit).
View original post 955 more words