Last active
June 18, 2020 16:28
-
-
Save lukaszkalnik/413621984ebf59bc91942ef1eee39b4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Retrofit.Builder() | |
.baseUrl("https://api.themoviedb.org/3/") | |
.addConverterFactory(Json.asConverterFactory(contentType)) | |
.addCallAdapterFactory(EitherCallAdapterFactory()) | |
.build() | |
.create(TmdbApi::class.java) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment