- Remove dagger-android solution, simplify the solution, now it is easier to understand!
- Upgrade outdated dependencies (WorkManager 2.6.0-rc, Dagger 2.38.1)
- Use Dagger native Assisted Inject instead of Square Assisted Inject
- Fix
Could not instantiate HelloWorldWorker
bug because WorkManager use AndroidX App Startup
💻 Run ./gradlew :app:installDebug
to install debug
application to connected device
🔮 See some red objects in the IDE along with the warning
message "Unresolved reference: ..."
💡 You might want to run ./gradlew :app:kaptDebugKotlin
, this will
make all generated code got generated
🔮 Got "permission denied: ./gradlew"?
💡 If you are on linux or macos, run chmod +x ./gradlew
to add execute
permission to the gradlew
file