I am trying to observe my workers
but they are always in queued
state or sometime it\'s RUNNING
but never SUCCEED
or
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.