Created
February 9, 2021 12:59
-
-
Save fatihkurcenli/b38abf9a4e5d3b1ec37501f8bf6a6b62 to your computer and use it in GitHub Desktop.
Retrofit Object
This file contains 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
val retrofit: Retrofit = Retrofit.Builder() | |
.baseUrl("https://api.github.com/") | |
.addConverterFactory(GsonConverterFactory.create()) | |
.build() | |
val service = retrofit.create(ApiService::class.java) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment