I've heard new KMM(1.5.1) version is released. can...
# multiplatform
u
I've heard new KMM(1.5.1) version is released. can I expect to use Hilt/Dagger feature for it at this version now?
j
Do you mean Compose Multiplatform 1.5.10? Dagger/Hilt is a Java library and doesn't support Kotlin Multiplatform.
u
I see. From what you've said, it seems unlikely that the module, which is Java-based and targeted for Android, will be operated in KMM in the future Thanks!!
j
Yes, it would need to be rewritten in Kotlin before that's even a possibility. You might try Koin for KMP dependency injection.
u
After seeing your comment, I looked into Koin. It seems that changing all my generated dependency injections to Koin could be the solution. Thank you for the advice. Haha, have a great day.
koinscroll 1
j
Thanks, you're welcome.
👍 1