get rid of BaseFragment by using RxJava instead of Retrofit Calls (#2055)

* get rid of BaseFragment by using RxJava instead of Retrofit Calls

* fix tests
This commit is contained in:
Konrad Pozniak 2021-01-31 19:34:33 +01:00 committed by GitHub
commit 886ff2f06b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 170 additions and 309 deletions

View file

@ -57,7 +57,7 @@ class DraftsViewModel @Inject constructor(
}
fun getToot(tootId: String): Single<Status> {
return api.statusSingle(tootId)
return api.status(tootId)
}
override fun onCleared() {