Package dagger
Annotation Type Subcomponent.Factory
-
@Retention(RUNTIME) @Target(TYPE) @Documented public static @interface Subcomponent.FactoryA factory for a subcomponent.This follows all the rules of
Component.Factory, except it must appear in classes annotated withSubcomponentinstead ofComponent.If a subcomponent defines a factory, its parent component(s) will have a binding for that factory type, allowing an instance of that factory to be injected or returned from a method on that component like any other binding.
- Since:
- 2.22