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

Question. How to recall onAdded() after reboot application

Open iandreyshev opened this issue 6 years ago • 2 comments

My actions: 1 Create persist job with requireNetwork flag 2 Pass Job to Manager 3 Job start 4 Force stop application 6 Off internet 5 Run application

Now job not started. What can I do to notify jobs about application start ?

iandreyshev avatar Mar 13 '18 15:03 iandreyshev

What do you mean by Job start, do you mean on run method called of the job? Also onAdded() will be only called once in lifetime of job. It is only called after job is persisted in queue.

kalpeshp0310 avatar Mar 14 '18 06:03 kalpeshp0310

@kalpeshp0310 I mean onRun() method

iandreyshev avatar Mar 14 '18 09:03 iandreyshev