yigit / android-priority-jobqueue

A Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability.
3.4k stars 395 forks source link

can i cancel all the pending jobs #445

Closed pranay1494 closed 5 years ago

pranay1494 commented 6 years ago

i have a requirement where i have to remove all the jobs from the queue and since all the jobs have different tags i think canceljobinbackground might not work.. can anyone lead me in any direction on how to achieve this

DarrenKe commented 5 years ago

you can use JobManager.clear() method