fragmentScope

fun Module.fragmentScope(scopeSet: ScopeDSL.() -> Unit)

Declare a Fragment scope section.

Dependencies declared inside this block are scoped to the Fragment lifecycle.

fragmentScope {
scoped { MyFragmentDependency() }
}