Package dagger.android
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.,ActivityorFragment).Commonly implemented by
Subcomponent-annotated types whoseSubcomponent.FactoryextendsAndroidInjector.Factory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAndroidInjector.Builder<T>Deprecated.PreferAndroidInjector.Factorynow that components can havefactoriesinstead of buildersstatic interfaceAndroidInjector.Factory<T>CreatesAndroidInjectors for a concrete subtype of a core Android type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinject(T instance)Injects the members ofinstance.
-
-
-
Method Detail
-
inject
void inject(T instance)
Injects the members ofinstance.
-
-