Class ActivityComponentManager

java.lang.Object
dagger.hilt.android.internal.managers.ActivityComponentManager
All Implemented Interfaces:
dagger.hilt.internal.GeneratedComponentManager<Object>

public class ActivityComponentManager extends Object implements dagger.hilt.internal.GeneratedComponentManager<Object>
Do not use except in Hilt generated code!

A manager for the creation of components that live in the Activity.

Note: This class is not typed since its type in generated code is always invalid input: '<'?> or . This is mainly due to the fact that we don't know the components at the time of generation, and because even the injector interface type is not a valid type if we have a hilt base class.
  • Field Details

    • activity

      protected final android.app.Activity activity
  • Constructor Details

    • ActivityComponentManager

      public ActivityComponentManager(android.app.Activity activity)
  • Method Details

    • generatedComponent

      public Object generatedComponent()
      Specified by:
      generatedComponent in interface dagger.hilt.internal.GeneratedComponentManager<Object>
    • getSavedStateHandleHolder

      public final SavedStateHandleHolder getSavedStateHandleHolder()
    • createComponent

      protected Object createComponent()