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.,
Activity or Fragment).
Commonly implemented by Subcomponent-annotated types whose Subcomponent.Factory extends AndroidInjector.Factory.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.static interfaceCreatesAndroidInjectors for a concrete subtype of a core Android type. -
Method Summary
-
Method Details
-
inject
Injects the members ofinstance.
-
AndroidInjector.Factorynow that components can havefactoriesinstead of builders