Comments (3)
Hi! Have you removed the default initialiser from the AndroidManifest.xml
file? The Hilt docs mention it.
See this other link to the WorkManager docs to do that.
from codelab-android-hilt.
Also, your modules are installed in the ActivityComponent
instead of the ApplicationComponent
or SingletonComponent
. If you're trying to inject that info in an Application
, those bindings should be available there
from codelab-android-hilt.
Thanks a lot, I made the module to be installed in ApplicationComponent
, and have started using hilt's work manager factory.
from codelab-android-hilt.
Related Issues (20)
- ':app:lintVitalReleasePro'.
- Using Hilt in Libraries or SDK HOT 3
- Hi! I believe you have to use the same version in the libraries and the gradle plugin. Can you try with: HOT 4
- Question: Meaning of Destroyed
- Codelab is not build : java.lang.IllegalAccessError: class org.jetbrains.kotlin.kapt3.base.KaptContext
- Typo in comment for database table name
- Does hilt compatible with JAVA 11. HOT 1
- SavedStateViewModelFactory constructed with empty constructor supports only calls to create(modelClass: Class<T>, extras: CreationExtras). HOT 1
- Binds and scope annotations
- Exception when running instrumented tests with Hilt and App Startup HOT 1
- Problem injecting generics
- Fields in View injected twice
- nuke word in nukeTable method name sounds exaggerated
- Problem in UI Test (even solution branch error)
- ActivityNotFoundException when running AppTest#happyPath
- Bump up versions for solution branch
- How to use hilt in projects built with build.gradle.kts
- compile time error: The following options were not recognized by any processor: '[kapt.kotlin.generated, room.incremental]'
- DaggerXYZApplication_HiltComponents_SingletonC$SingletonCImpl$SwitchingProvider.get
- Hilt +ViewBinding Cannot add a null child view to a ViewGroup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codelab-android-hilt.