[Solved that was the right way] I want to pass par...
# koin
y
[Solved that was the right way] I want to pass parameters to my screenModel is this the way to do it?
Copy code
val screenModel = koinScreenModel<LobbyScreenModel>(parameters = { parameterSetOf(sessionId, simpleUser) })
and how do I retrieve them do I just pass them to my constructor?
Copy code
@Factory
class LobbyScreenModel(
    sessionRepository: SessionRepository,
    sessionId: String,
    user: LobbyState.SimpleUser,
) : StateScreenModel<LobbyState>(LobbyState()) {