How to completely kill/remove/delete/stop an AsyncTask

前端 未结 7 2111
终归单人心
终归单人心 2020-11-28 09:57

I made an app that downloads videos from our server. The issue is:

When i cancel the downloading i call:

myAsyncTask.cancel(true)

I

7条回答
  •  悲&欢浪女
    2020-11-28 10:31

    You better use vogella asyncTask library which have a lot of features like priority and canceling background task. And a great tutorial or using it is here

提交回复
热议问题