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.Factory extends AndroidInjector.Factory.
| Modifier and Type | Interface and Description |
|---|---|
static class |
AndroidInjector.Builder<T>
Deprecated.
Prefer
AndroidInjector.Factory now that components can have factories instead of builders |
static interface |
AndroidInjector.Factory<T>
Creates
AndroidInjectors 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.