class ScopeObserver : LifecycleObserver, KoinComponent
Observe a LifecycleOwner
Author
Arnaud Giuliani
release module instances from signals : ON_STOP, ON_DESTROY
<init> |
Observe a LifecycleOwner ScopeObserver(event: Event, target: Any, scope: Scope) |
event |
val event: Event |
scope |
val scope: Scope |
target |
val target: Any |
onDestroy |
Handle ON_DESTROY to release Koin modules fun onDestroy(): Unit |
onStop |
Handle ON_STOP to release Koin modules fun onStop(): Unit |