Add ability to pin/unpin statuses (#872)
This commit is contained in:
parent
f6934cadd8
commit
a0988dc6c6
9 changed files with 61 additions and 13 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue