Retrofit: How to wait for response
The Call
class has an execute()
method that will make your call synchronously.
enqueue()
is explicitly for making an asychronous call.
The Call
class has an execute()
method that will make your call synchronously.
enqueue()
is explicitly for making an asychronous call.