【发布时间】:2021-11-14 07:53:12
【问题描述】:
我正在尝试使用ExistingWorkPolicy 来运行一些需要唯一且只运行一次即可完成的代码。
REPLACE 和KEEP 的documentation of ExistingWorkPolicy 谈论pending (uncompleted) work。但documentation of Work States 只谈论Enqueued、Running、Cancelled、Failed 和Succeeded。
我想知道pending 或uncompleted 在这种情况下到底是什么意思?
【问题讨论】:
标签: android android-workmanager