https://kotlinlang.org logo
#kodein
Title
m

Marc Knaup

03/26/2020, 10:45 AM
Copy code
val kodein by kodein()
can be nasty on Android if you forget to import the extension function 😄 https://youtrack.jetbrains.com/issue/KT-37796
r

romainbsl

03/26/2020, 11:13 AM
Yes that’s why we let the closestKodein() for now, as some had issues with this
m

Marc Knaup

03/26/2020, 11:14 AM
Interesting! I was wondering why it isn’t deprecated.