android / android/codelab-android-workmanager

Example for a Worker that is Failed after x tries

Open
#306 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
557
Forks
242
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by locating the existing Worker examples and the handling of runAttemptCount; done means adding a documented example that fails after a specified number of tries.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.