Package dagger.android
Annotation Type ContributesAndroidInjector
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface ContributesAndroidInjectorGenerates anAndroidInjectorfor the return type of this method. The injector is implemented with aSubcomponentand will be a child of theModule's component.This annotation must be applied to an abstract method in a
Modulethat returns a concrete Android framework type (e.g.FooActivity,BarFragment,MyService, etc). The method should have no parameters.For more information, see the docs
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>[]modulesModules to be installed in the generatedSubcomponent.
-
-
-
Element Detail
-
modules
java.lang.Class<?>[] modules
Modules to be installed in the generatedSubcomponent.- Default:
- {}
-
-