If I start a bunch of tasks with DownloadTask.enqueue(tasks, listener) is there a way I can cancel an individual task? If I keep a reference to that task before passing the list to enqueue, can I call task.cancel() and it will cancel that individual task (even though it was passed to enqueue)?
If I start a bunch of tasks with
DownloadTask.enqueue(tasks, listener)
is there a way I can cancel an individual task? If I keep a reference to that task before passing the list toenqueue
, can I calltask.cancel()
and it will cancel that individual task (even though it was passed toenqueue
)?