My Retrofit call.enque() method is getting skipped over entirely, not sure why

后端 未结 2 890
一向
一向 2021-01-25 10:16

I\'m making a call using Retrofit\'s enqueue() method. I\'m calling my refreshImages() in my MainActivity\'s onCreate(), refreshImag

2条回答
  •  不要未来只要你来
    2021-01-25 10:50

    Correct me if I'm wrong, is this on the main thread? That would pose the problem of not waiting for a response.

    Consider using async

提交回复
热议问题