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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Job not executing

madhanmallow opened this issue · comments

I have two different API requests with same group id because I need to make them sequentially. While making those two API requests in offline, the onAdded method is called for the API requests. Then, when the app comes to online, only the first API request's onRun method is called and the second one not happen. How to resolve this issue? I'm using retrofit to make API requests and the API calls are made synchronously using the execute() method as suggested.