So, I have implemented priority-job-queue
which is perfectly documented and meets all my requirements. I have some difficulties though. As per client's request, I had to divide networks call into two parts, offline (queued server calls with priority-job-queue
) and run-time (instant server calls). To cut short, what I'm trying to accomplish is to execute all queued server-calls before instant-run call (which is independent of priority-job-queue
) being executed. Is there any way to handle this case. I would appreciate any help.
NOTE: I know a method called
JobManager.count()
, but after reading this post (https://github.com/yigit/android-priority-jobqueue/issues/193), I got confused a little bit if it really returns count of pending jobs or not?