Hello, I am trying to use AssistedInject library with Android WorkManager framework to inject object in Worker class.
But my implementation throws the following error.
@dagger.Module(includes = {AssistedInject_SampleAssistedInjectModule.class})
^
symbol: class AssistedInject_SampleAssistedInjectModule
I am using the latest version, this is my dependency
Everything looks good. All you need is to be using kapt and not annotationProcessor since you're using Kotlin. Documentation on kapt is available here: https://kotlinlang.org/docs/reference/kapt.html.
Hello, I am trying to use AssistedInject library with Android WorkManager framework to inject object in Worker class. But my implementation throws the following error.
I am using the latest version, this is my dependency
and this is my implementation
and this is my worker class where I use it,
Reading on SO and other forums tells there is something with Kapt but I am not sure what exactly is going on, any help appreciated.