RxJava2+Retrofit2导包(新)
compile "io.reactivex.rxjava2:rxjava:2.1.1"
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
//配合rxjava2使用
compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
//建议导2.7版本-(稳定功能多)
compile 'com.google.code.gson:gson:2.7'
kotlin下的可以导
//将上面的rxbinding换成这个其实不换也可以因为kotlin兼容java
compile 'com.jakewharton.rxbinding2:rxbinding-kotlin:2.0.0'