Hey, now that Retrofit since 2.6 supports `suspend...
# android
k
Hey, now that Retrofit since 2.6 supports
suspend
using behind the scenes
Call
interface and then enqueuing it do we need to wrap a retrofit call with a
withContext
IO
scheduler ? As actually the
enqueue
will already do the call asynchronously and we are safe with calling it on the Android mainthread
d
It is safe. Dispatcher is abstracted away in a suspend function call.
👍 1
s/is/should be/
k
So I think I would skip using
withContext
for Retrofit
j
yes
👍 1