Bump dependencies and support library

This commit is contained in:
len 2016-05-12 20:15:15 +02:00
parent 43fafbc747
commit 70fabf6a6b
2 changed files with 4 additions and 5 deletions

View File

@ -89,7 +89,7 @@ kapt {
} }
dependencies { dependencies {
final SUPPORT_LIBRARY_VERSION = '23.3.0' final SUPPORT_LIBRARY_VERSION = '23.4.0'
final DAGGER_VERSION = '2.4' final DAGGER_VERSION = '2.4'
final OKHTTP_VERSION = '3.2.0' final OKHTTP_VERSION = '3.2.0'
final RETROFIT_VERSION = '2.0.2' final RETROFIT_VERSION = '2.0.2'
@ -112,8 +112,8 @@ dependencies {
compile "com.android.support:preference-v14:$SUPPORT_LIBRARY_VERSION" compile "com.android.support:preference-v14:$SUPPORT_LIBRARY_VERSION"
// ReactiveX // ReactiveX
compile 'io.reactivex:rxandroid:1.1.0' compile 'io.reactivex:rxandroid:1.2.0'
compile 'io.reactivex:rxjava:1.1.1' compile 'io.reactivex:rxjava:1.1.5'
compile 'com.f2prateek.rx.preferences:rx-preferences:1.0.1' compile 'com.f2prateek.rx.preferences:rx-preferences:1.0.1'
// Network client // Network client
@ -126,7 +126,7 @@ dependencies {
compile "com.squareup.retrofit2:adapter-rxjava:$RETROFIT_VERSION" compile "com.squareup.retrofit2:adapter-rxjava:$RETROFIT_VERSION"
// IO // IO
compile 'com.squareup.okio:okio:1.7.0' compile 'com.squareup.okio:okio:1.8.0'
// JSON // JSON
compile 'com.google.code.gson:gson:2.6.2' compile 'com.google.code.gson:gson:2.6.2'

View File

@ -75,7 +75,6 @@ class ChaptersPresenter : BasePresenter<ChaptersFragment>() {
start(DB_CHAPTERS) start(DB_CHAPTERS)
add(db.getChapters(manga).asRxObservable() add(db.getChapters(manga).asRxObservable()
.subscribeOn(Schedulers.io())
.doOnNext { chapters -> .doOnNext { chapters ->
this.chapters = chapters this.chapters = chapters
SharedData.get(ChapterCountEvent::class.java)?.emit(chapters.size) SharedData.get(ChapterCountEvent::class.java)?.emit(chapters.size)