开发者

Using AsyncTask to download, how to cancel

I use AsyncTask to download a file from 开发者_开发知识库the Internet, but when I call cancel to cancel the AsyncTask, the thread does not stop downloading. And when I do a test, I find when finishing the Activity, Android will not stop the thread in the Activity. So how can I stop downloading the file? Thanks!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜