T
- a concrete subtype of a core Android type@Beta
public interface AndroidInjector<T>
Activity
or Fragment
).
Commonly implemented by Subcomponent
-annotated types whose Subcomponent.Builder
extends AndroidInjector.Builder
.
AndroidInjection
,
DispatchingAndroidInjector
Modifier and Type | Interface and Description |
---|---|
static class |
AndroidInjector.Builder<T>
An adapter that lets the common
Subcomponent.Builder pattern implement AndroidInjector.Factory . |
static interface |
AndroidInjector.Factory<T>
Creates
AndroidInjector s for a concrete subtype of a core Android type. |
Modifier and Type | Method and Description |
---|---|
void |
inject(T instance)
Injects the members of
instance . |
void inject(T instance)
instance
.