android / codelab-android-workmanager

Apache License 2.0
551 stars 239 forks source link

Example for a Worker that is Failed after x tries #306

Open Backfisch145 opened 2 years ago

Backfisch145 commented 2 years ago

Hello, there really should be an example for a Worker that uses the "runAttemptCount" for setting itself to Failed after x tries.

I think that is a common use case, that should be mentioned