koin-android / org.koin.android.scope / android.app.Service

Extensions for android.app.Service

createScope

Create new scope

fun Service.createScope(source: Any? = null): Scope

getScopeOrNull

fun Service.getScopeOrNull(): Scope?

serviceScope

Provide Koin Scope tied to ComponentActivity

fun Service.serviceScope(): Lazy<Scope>