Package dagger

Annotation Type Subcomponent.Builder


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    public static @interface Subcomponent.Builder
    A builder for a subcomponent.

    This follows all the rules of Component.Builder, except it must appear in classes annotated with Subcomponent instead of Component.

    If a subcomponent defines a builder, its parent component(s) will have a binding for that builder type, allowing an instance or Provider of that builder to be injected or returned from a method on that component like any other binding.