Interface AndroidInjector<T>

Type Parameters:
T - a concrete subtype of a core Android type
All Known Implementing Classes:
DispatchingAndroidInjector

@Beta public interface AndroidInjector<T>
Performs members-injection for a concrete subtype of a core Android type (e.g., Activity or Fragment).

Commonly implemented by Subcomponent-annotated types whose Subcomponent.Factory extends AndroidInjector.Factory.

See Also:
  • Method Details

    • inject

      void inject(T instance)
      Injects the members of instance.