Refactor code
This commit is contained in:
parent
369411ffc6
commit
6cdaf27eda
13 changed files with 28 additions and 160 deletions
|
@ -17,7 +17,7 @@ interface RetroDataService {
|
|||
suspend fun getTranslators(): List<Contributor>
|
||||
|
||||
companion object {
|
||||
val retoService = Retrofit.Builder()
|
||||
val retoService: RetroDataService = Retrofit.Builder()
|
||||
.baseUrl(BASE_URL)
|
||||
.addConverterFactory(GsonConverterFactory.create(GsonBuilder().create()))
|
||||
.build()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue