June 2017
Intermediate to advanced
400 pages
8h 44m
English
Now that the hard part is over and you have Retrolambda set up, all that is left for the configuration is bringing in RxJava and RxAndroid. Another set of libraries to add to your stack is Jake Wharton's RxBinding (https://github.com/JakeWharton/RxBinding), which streamlines RxJava usage for Android UI controls.
Add these three libraries to your dependencies { } block for your module (not the one inside the buildscript { } block!):
compile 'io.reactivex.rxjava2:rxjava:2.1.0' compile 'io.reactivex.rxjava2:rxandroid:2.0.1' compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
So these should now be your full build.gradle (Module: app) contents:
buildscript { repositories { mavenCentral() } dependencies { classpath ...Read now
Unlock full access