release v2026.05.11.2: signing key + library infinite scroll #40
@@ -13,6 +13,7 @@ import okhttp3.MediaType.Companion.toMediaType
|
|||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
import okhttp3.logging.HttpLoggingInterceptor
|
import okhttp3.logging.HttpLoggingInterceptor
|
||||||
import retrofit2.Retrofit
|
import retrofit2.Retrofit
|
||||||
|
import retrofit2.create
|
||||||
import java.util.concurrent.TimeUnit
|
import java.util.concurrent.TimeUnit
|
||||||
import javax.inject.Singleton
|
import javax.inject.Singleton
|
||||||
|
|
||||||
@@ -73,8 +74,7 @@ object NetworkModule {
|
|||||||
|
|
||||||
@Provides
|
@Provides
|
||||||
@Singleton
|
@Singleton
|
||||||
fun provideLibraryApi(retrofit: Retrofit): LibraryApi =
|
fun provideLibraryApi(retrofit: Retrofit): LibraryApi = retrofit.create()
|
||||||
retrofit.create(LibraryApi::class.java)
|
|
||||||
|
|
||||||
private const val CONNECT_TIMEOUT_SECONDS = 10L
|
private const val CONNECT_TIMEOUT_SECONDS = 10L
|
||||||
private const val READ_TIMEOUT_SECONDS = 30L
|
private const val READ_TIMEOUT_SECONDS = 30L
|
||||||
|
|||||||
Reference in New Issue
Block a user