https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

Alex

12/07/2020, 8:26 PM
Hi everyone. I'm gonna start working on a KMM project next week and I'm worried about what's the appropriate DI framework to use. So far, I've seen most of the people are using Koin or Kodein. I don't have any real experience with any of them. Does anyone know which one's better suited for KMM and why? I've couldn't find any good article about it.
g

Giorgos Neokleous

12/07/2020, 8:37 PM
I have used koin on a pet project. It's good to have a DI framework on your shared logic, but not needed. You can have your own DI solution or use something like Dagger with your own modules to construct your shared objects at a higher layer such as "app" module for Android.
👍🏻 1
k

Kris Wong

12/08/2020, 2:43 PM
I have not looked at this in a while, but last time I did none of the projects supported concurrency
3 Views