Commit da5c313b authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

futher code need mvi scopes to be declared first

parent f1a59874
......@@ -17,7 +17,10 @@ fun RoomParkApplication.initDI(){
startKoin {
androidLogger()
androidContext(this@initDI)
modules(listOf(appModule, scopesModule))
modules(listOf(
appModule
,scopesModule
))
}
}
......@@ -31,4 +34,12 @@ val scopesModule = module {
}
}
val presenterScope = module {
scope(named<RoomParkMainActivity>()){ //<- Presenter?
scoped { StartUpData("ja pesik!") }
}
}
data class StartUpData(val helloText:String)
......@@ -4,3 +4,7 @@ package com.biganto.visual.roompark.domain.use_case
* Created by Vladislav Bogdashkin on 24.09.2019.
*/
class AuthUseCase{
// val auth: AuthContract by currentScope.inject()
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment