android / codelab-android-dagger

Apache License 2.0
181 stars 157 forks source link

Step 7 - Building the module requires InstallIn #36

Open aidanmack opened 4 years ago

aidanmack commented 4 years ago

I am new to using Hilt/Dagger,

But I have noticed that when I try to create a module using the step 7 for reference, I get the error.. Module must also be annotated with @InstallIn.

When annotate with @InstallIn(value = [ApplicationComponent::class]) All is well.