Hello guys ! Any one knows how to post API hit in couroutins in kotlin plslz help me out any link or references thanks
07/22/2019, 5:59 AM
what is API hit?
Could you please give more context, what kind API, what are you doing, are you talking about some library or just generic question etc
07/24/2019, 7:23 AM
May be this can help you to understand how we can make an API request using co-routines :
when (val result = service.functionName(params))
//handle result here....