Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
interface SomeApiService {
fun getApiEndpointData(@QueryMap map:Map<String,String>): Call<ApiData>
launch(coroutineExceptionHandler) {
val service = RetrofitHelper.createRetrofitService(
val response = service.getApiEndpointData()
// Use the response here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment