0

I am using com.github.yigit:android-priority-jobqueue. I am stuck how to schedule same job after x sec on completion or in onRun() call. Is there any method?

UMESH0492
  • 1,701
  • 18
  • 31

1 Answers1

0

Simply by adding delayInMs() method, while creating in constructor.

        super(new Params (PRIORITY).requireNetwork ().groupBy (Const.POOLING_QUEUE_GROUP).delayInMs (120000).persist ());//120 sec delay
UMESH0492
  • 1,701
  • 18
  • 31