Marc
12/16/2025, 6:22 PMService which needs userId to be created but we don’t have userId until we call a resource. how is the best way to workaround it? 🙏🏻Ciaran Sloan
12/16/2025, 7:51 PMcurioustechizen
12/17/2025, 7:00 AMval appModule = module {
factoryOf(::UserDetailPresenter)
}
Should have been this
val appModule = module {
factory { (userId: String) ->
UserDetailPresenter(
userId = userId,
foo = get(),
bar = get()
)
}
}galex
12/17/2025, 8:29 AM@InjectedParam https://insert-koin.io/docs/4.0/reference/koin-annotations/definitions#injected-parameters-with-injectedparamCiaran Sloan
12/17/2025, 2:39 PMCiaran Sloan
12/17/2025, 2:41 PMMarc
12/17/2025, 4:06 PM