You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 1. is the actual binding we need,
On the second and third line singleOf produces None of the following functions can be called with the arguments supplied:
On line 3 we are getting Unresolved reference. None of the following candidates is applicable because of receiver type mismatch
public inline fun BeanDefinition<out TypeVariable(T)>.bind(): Unit defined in org.koin.core.module.dsl
Please explain what happens
The text was updated successfully, but these errors were encountered:
kotlin = "2.0.21"
koin-bom = "4.0.0"
Koin
koin-bom = { module = "io.insert-koin:koin-bom", version.ref = "koin-bom" }
koin-core = { module = "io.insert-koin:koin-core" }
koin-ktor = { module = "io.insert-koin:koin-ktor" }
Esencially these 3 lines attempt to do the same but the 2nd and third line uses DSL as per sample on the website
Koin DSL and Constructor DSL
Line 1. is the actual binding we need,
On the second and third line
singleOf
produces None of the following functions can be called with the arguments supplied:On line 3 we are getting Unresolved reference. None of the following candidates is applicable because of receiver type mismatch
public inline fun BeanDefinition<out TypeVariable(T)>.bind(): Unit defined in org.koin.core.module.dsl
Please explain what happens
The text was updated successfully, but these errors were encountered: