koin-androidx-scope / org.koin.androidx.scope

Package org.koin.androidx.scope

Types

ScopeActivity

ScopeActivity

abstract class ScopeActivity : AppCompatActivity, KoinScopeComponent

ScopeFragment

ScopeFragment

abstract class ScopeFragment : Fragment, KoinScopeComponent

ScopeHandlerViewModel

Scope support for ViewModel

class ScopeHandlerViewModel : ViewModel

ScopeService

ScopeService

abstract class ScopeService : Service, KoinScopeComponent

Extensions for External Classes

androidx.lifecycle.LifecycleOwner

Functions

activityRetainedScope

fun <T : ComponentActivity> T.activityRetainedScope(): Scope

activityScope

Provide Koin Scope tied to ComponentActivity

fun <T : ComponentActivity> T.activityScope(): Scope

fragmentScope

Provide scope tied to Fragment

fun <T : Fragment> T.fragmentScope(): Scope

getScopeId

fun <T : ComponentActivity> T.getScopeId(): String

getScopeName

fun <T : ComponentActivity> T.getScopeName(): TypeQualifier

newScope

Create new scope

fun <T : ComponentActivity> T.newScope(source: Any? = null): Scope