To make our lives easier, we will use another library that will help us to connect old RxJava Observables with newer interfaces of RxJava 2.0.
We will use the RxJava2Interop library from David Karnok that can be found at https://github.com/akarnokd/RxJava2Interop . It is a library; it would be straightforward to write one yourself, but it's much better to take something that's ready and has been tested in the wild so that there are fewer chances to run into bugs.