Jobcheduler: how to transfer a task after its completion?

I can not find how to transfer the task after it. When I finish work (just call jobFinishedin the main thread), how can I transfer the same work? The problem is that it jobFinished does not execute right away , and if I plan a new task with the same id , the current task will be canceled (even if it is completed), and it will call the procedureonStopJob

+4
source share

Source: https://habr.com/ru/post/1682497/


All Articles