activityScope

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

Declare an Activity scope section.

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

activityScope {
scoped { MyActivityDependency() }
}