Join Slack
Powered by
Given: Retrofit + Coroutines I'm trying to map htt...
# squarelibraries
g
ghedeon
10/18/2019, 2:46 PM
Given: Retrofit + Coroutines I'm trying to map http errors to my custom wrappers in a centralized manner. What would be the right approach here? Call Adapter? Any good example of such thing with suspended functions? Thanks.
d
david.bilik
10/20/2019, 12:16 PM
I think that adapter is a right approach -
https://stackoverflow.com/a/57816819/1478296
4
Views
Open in Slack
Previous
Next