Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 months ago.
你的漂亮旋转器不会旋转,因为 UI 在同步调用期间也会被阻塞。当然,您可以在单独的线程上进行调用,但是您所做的事情基本上与异步调用相同。
Your nice spinner won't spin, since the UI will get blocked as well during the synchronous call. Sure, you can make the call on a separate thread, but then you're doing essentially the same thing as the asynchronous call.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
你的漂亮旋转器不会旋转,因为 UI 在同步调用期间也会被阻塞。当然,您可以在单独的线程上进行调用,但是您所做的事情基本上与异步调用相同。
Your nice spinner won't spin, since the UI will get blocked as well during the synchronous call. Sure, you can make the call on a separate thread, but then you're doing essentially the same thing as the asynchronous call.