workstatus observer always in enqueued state

后端 未结 3 808
无人共我
无人共我 2021-01-20 05:54

I am trying to observe my workers but they are always in queued state or sometime it\'s RUNNING but never SUCCEED or

3条回答
  •  抹茶落季
    2021-01-20 06:27

    The above answer is correct. For PeriodicWork you should see:

    ENQUEUED -> RUNNING -> ENQUEUED

    However, there is a bug in alpha04 which causes PeriodicWork to not run on API >= 23. This will be fixed in alpha05. For more info take a look at https://issuetracker.google.com/issues/111195153.

    IMPORTANT: As of a couple of days ago: alpha05 has shipped. This bug is fixed.

提交回复
热议问题