Skip to content

Instantly share code, notes, and snippets.

@igorwojda
Last active February 16, 2020 19:24
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 igorwojda/a34dce73d4e74b50e188fc06c8cbca4a to your computer and use it in GitHub Desktop.
Save igorwojda/a34dce73d4e74b50e188fc06c8cbca4a to your computer and use it in GitHub Desktop.
val okHttpClient = OkHttpClient.Builder()
.addInterceptor(AuthInterceptor())
.build()
val retrofit = Retrofit.Builder()
.baseUrl("https://igor.wojda.com/app")
.client(okHttpClient)
.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment