android / android/codelab-android-workmanager
super() does not accept parameters as the instructions said.
- Dominant language
- Kotlin
- Stars
- 557
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Description
Hello
I got an error while following the tutorial.
Can you please let me know if my solution is right or if I need to do something else? The details are below.
Thank you,
Alan
Link: https://developer.android.com/codelabs/android-workmanager-java#3
Course: Background Work with WorkManager - Java
Section: Make your first WrokRequest
Step 4: Get WrorkManager in the viewModel
Error:

Solution: Use super() with no parameters
Contributor guide
Research direction
Open the linked Android WorkManager Java codelab and review Section 3, “Make your first WorkRequest,” Step 4, “Get WorkManager in the viewModel.” Compare the instruction about super() with the reported no-parameter solution; done when the tutorial guidance matches the code that compiles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100