Created
February 9, 2021 13:05
-
-
Save fatihkurcenli/bd0b4a19a46927815fac42c7a5f5fc86 to your computer and use it in GitHub Desktop.
ServiceRequest
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
service.getRepos().enqueue(object:Callback<List<Repo>>){ | |
override fun onFailure(call:Cal<List<Repo>>, t:Throwable){ | |
//TODO | |
} | |
override fun onResponse(call:Call<List<Repo>>, response:Response<List<Repo>>){ | |
//TODO | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment