Add ability to pin/unpin statuses (#872)

This commit is contained in:
Ivan Kupalov 2018-10-03 21:27:52 +02:00 committed by Konrad Pozniak
commit a0988dc6c6
9 changed files with 61 additions and 13 deletions

View file

@ -36,6 +36,7 @@ import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Converter
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonConverterFactory
import javax.inject.Singleton
@ -93,6 +94,7 @@ class NetworkModule {
converters.fold(builder) { b, c ->
b.addConverterFactory(c)
}
builder.addCallAdapterFactory(RxJava2CallAdapterFactory.createAsync())
}
.build()