abstract class ScopeActivity : AppCompatActivity, AndroidScopeComponent
ScopeActivity
AppCompatActivity, allow to create & destroy tied Koin scope
Author
Arnaud Giuliani
<init> |
ScopeActivity ScopeActivity(contentLayoutId: Int = 0, initialiseScope: Boolean = true) |
scope |
open val scope: Scope |
onCreate |
open fun onCreate(savedInstanceState: Bundle?): Unit |
getOrCreateScope |
fun <T : ComponentCallbacks> T.getOrCreateScope(): Lazy<Scope> |
newScope |
fun <T : ComponentCallbacks> T.newScope(): Lazy<Scope> |