android-priority-jobqueue icon indicating copy to clipboard operation
android-priority-jobqueue copied to clipboard

How to add custom requirements of the job?

Open perqin opened this issue 8 years ago • 1 comments

I am using Job Queue for uploading pieces of data to my server in sequence. I want to allow user to pause the uploading progress and resume later. Now my workaround is suspend the job's running thread before firing the real uploading request in the onRun method. Are there any better ways to pause a group of job when a custom requirement is not met?

perqin avatar Aug 15 '17 03:08 perqin

It would be great if we could create custom requirements, like user logged in or others

Mistic92 avatar Sep 30 '17 19:09 Mistic92