首页 > 移动平台 > 详细

android-async-http cancelRequests

时间:2016-01-30 13:35:01      阅读:301      评论:0      收藏:0      [点我收藏+]

github地址:https://github.com/loopj/android-async-http

使用上:官方建议使用一个静态的AsyncHttpClient:

1、AsyncHttpClient 中:

1 cancelRequests(Context context, boolean mayInterruptIfRunning);
1 cancelAllRequests(boolean mayInterruptIfRunning);

2、RequestHandle 中:

1 cancel(boolean mayInterruptIfRunning)

 

android-async-http cancelRequests

原文:http://www.cnblogs.com/CharlesGrant/p/5170831.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!