Skip to content

Instantly share code, notes, and snippets.

@arildojr7
Created August 10, 2023 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arildojr7/4626666f32a4c11206bdf1c792533b86 to your computer and use it in GitHub Desktop.
Save arildojr7/4626666f32a4c11206bdf1c792533b86 to your computer and use it in GitHub Desktop.
OkHtttpClientBuilder
val client = OkHttpClient.Builder()
.addInterceptor(MockInterceptor())
.build()
}
val retrofit = Retrofit.Builder()
.client(client)
.baseUrl(BASE_URL)
.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment