android-priority-jobqueue
android-priority-jobqueue copied to clipboard
How to add custom requirements of the job?
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?
It would be great if we could create custom requirements, like user logged in or others