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
Modifier and TypeInterfaceDescriptionstatic class
Deprecated.static interface
CreatesAndroidInjector
s for a concrete subtype of a core Android type. -
Method Summary
-
Method Details
-
inject
Injects the members ofinstance
.
-
AndroidInjector.Factory
now that components can havefactories
instead of builders