title: Dagger with Hilt inject ActivityContext in adapter from module
body: <p>I'm using dagger and hilt and i want to inject @ActivityContext from a module to an Adapter but i'm getting this error -</p>
  <pre><code>ANTLR Tool version 4.5.3 used for code generation does not match the current runtime version 4.7.1ANTLR Runtime version 4.5.3 used for parser compilation does not match the current runtime version 4.7.1ANTLR Tool version 4.5.3 used for code generation does not match the current runtime version 4.7.1ANTLR Runtime version 4.5.3 used for parser compilation does not match the current runtime version 4.7.1/mnt/My Projects/app/build/generated/source/kapt/debug/app/myapp/MyApp_HiltComponents.java:156: error: [Dagger/MissingBinding] @dagger.hilt.android.qualifiers.ActivityContext android.content.Context cannot be provided without an @Provides-annotated method.
    public abstract static class ApplicationC implements MyApp_GeneratedInjector,
                           ^
        @dagger.hilt.android.qualifiers.ActivityContext android.content.Context is injected at
            app.myapp.di.modules.activitiesModules.HomeActivityModule.provideAdapterFragmentState(context)
        app.myapp.ui.base.AdapterFragmentState is injected at
            app.myapp.ui.home.HomeActivity.adapterFragmentState
        app.myapp.ui.home.HomeActivity is injected at
  </code></pre>
  <p>This is my HomeActivityModule -</p>
  <pre><code>@Module
  @InstallIn(ActivityRetainedComponent::class)
  object HomeActivityModule {
  
      @Provides
      @ActivityRetainedScoped
      fun provideAdapterFragmentState(@ActivityContext context: Context): AdapterFragmentState {
          return AdapterFragmentState(context)
      }
  
  }
  </code></pre>
  <p>And this is my Adapter -</p>
  <pre><code>@ActivityRetainedScoped
  class AdapterFragmentState @Inject constructor(@ActivityContext context: Context)
      : FragmentStateAdapter(context as AppCompatActivity){
  </code></pre>
  <p>Which part is wrong?</p>