ContributesFragment

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ContributesFragment(scope: KClass<*>, replaces: Array<KClass<*>>)

Properties

Link copied to clipboard
val replaces: Array<KClass<*>>

This contributed module will replace these contributed classes. The array is allowed to include other contributed bindings, multibindings and Dagger modules. All replaced classes must use the same scope.

Link copied to clipboard
val scope: KClass<*>

The scope in which to include this module.

Sources

Link copied to clipboard