We are going to use IntelliJ IDEA/Android Studio for this project, so the screenshots should look familiar to you.
Let's dive in and create a new Android project. You can create your own project or import the one provided with the book. It's up to you to choose your preferred setup.
If you want to create a new project with Android Studio, as usual, you can refer to the official documentation at http://developer.android.com/training/basics/firstapp/creating-project.html:
Obviously, we are going to use Gradle to manage our dependencies list. Our build.gradle
file will look like this:
As you can see, we are importing RxAndroid. RxAndroid is an enhancement of RxJava, specifically designed for Android.
RxAndroid is part of the RxJava family. It's based on RxJava 1.0.x, and it adds a few useful classes to the vanilla RxJava. Most of all, it adds specific Schedulers for Android. We will deal with Schedulers in Chapter 7, Schedulers – Defeating the Android MainThread...