add koin, retrofit and setup retrofit boilerplate

This commit is contained in:
Owen LeJeune
2022-02-09 21:12:28 -05:00
parent be7eca362a
commit b5db7422d0
12 changed files with 152 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
package com.owenlejeune.tvtime.api
import com.facebook.stetho.okhttp3.StethoInterceptor
import okhttp3.OkHttpClient
class DebugHttpClient: HttpClient {
override val httpClient: OkHttpClient = OkHttpClient.Builder()
.addNetworkInterceptor(StethoInterceptor())
.build()
}