Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created April 11, 2022 11:42
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 skydoves/65da4cb3ddd3765fec06a878d81e37b8 to your computer and use it in GitHub Desktop.
Save skydoves/65da4cb3ddd3765fec06a878d81e37b8 to your computer and use it in GitHub Desktop.
retrofit_builder
val retrofit = Retrofit.Builder()
.baseUrl(BASE_URL)
.addConverterFactory(MoshiConverterFactory.create())
.addCallAdapterFactory(NetworkResultCallAdapterFactory.create())
.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment