Join Slack
Powered by
OK, that makes sense. Am I probably going to be lo...
# android
z
zachtib
03/04/2019, 1:52 PM
OK, that makes sense. Am I probably going to be looking at writing some sort of custom response converter for this, or can one of kotlinx.serialization/Moshi/Gson handle this somewhat automatically?
n
nil2l
03/04/2019, 6:12 PM
You can also use
okhttp.RequestInterceptor
to parse ‘data’ and ‘error’ for all requests.
3
Views
Open in Slack
Previous
Next