【发布时间】:2014-09-16 13:37:38
【问题描述】:
我在一个活动中有一个请求,我需要知道请求是否被取消,所以我使用Request.isCanceled()检查了onResponse()方法,但它返回false。不知道什么时候请求真的被取消了,我看了代码,还是没有回答。
【问题讨论】:
-
I want to hide the loading dialog after all the requests canceled, so I need to check if the request is canceled.如果您不取消您的请求,它将不会被取消。
标签: android request android-volley