Package dagger.android
Class AndroidInjector.Builder<T>
java.lang.Object
dagger.android.AndroidInjector.Builder<T>
- Type Parameters:
T- the concrete type to be injected
- All Implemented Interfaces:
AndroidInjector.Factory<T>
- Enclosing interface:
- AndroidInjector<T>
@Deprecated
public abstract static class AndroidInjector.Builder<T>
extends Object
implements AndroidInjector.Factory<T>
Deprecated.
An adapter that lets the common
Subcomponent.Builder pattern implement AndroidInjector.Factory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AndroidInjector<T>build()Deprecated.Returns a newly-constructedAndroidInjector.final AndroidInjector<T>Deprecated.Creates anAndroidInjectorforinstance.abstract voidseedInstance(T instance) Deprecated.Providesinstanceto be used in the binding graph of the builtAndroidInjector.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
create
Deprecated.Description copied from interface:AndroidInjector.FactoryCreates anAndroidInjectorforinstance. This should be the same instance that will be passed toAndroidInjector.inject(Object).- Specified by:
createin interfaceAndroidInjector.Factory<T>
-
seedInstance
Deprecated.Providesinstanceto be used in the binding graph of the builtAndroidInjector. By default, this is used as aBindsInstancemethod, but it may be overridden to provide any modules which need a reference to the activity.This should be the same instance that will be passed to
AndroidInjector.inject(Object). -
build
Deprecated.Returns a newly-constructedAndroidInjector.
-
AndroidInjector.Factorynow that components can havefactoriesinstead of builders