Replies: 3 comments 5 replies
-
I'm using koin for DI. I am trying to inject the view model but it fails everytime While this works when injecting stuff to VM's and Composable functions but it fails when i try to do the same with Components |
Beta Was this translation helpful? Give feedback.
-
Decompose doesn't support and doesn't have such a concept as Re: I'm not quite familiar with Koin, but this error looks like an issue in your DI setup, unrelated to Decompose - it can't inject |
Beta Was this translation helpful? Give feedback.
-
i intend to use component in place of view-model and just like VM's we need to inject instances to component. Is there any documentation that explains how to use DI within root component? |
Beta Was this translation helpful? Give feedback.
-
How can i access viewmodel in component?
Beta Was this translation helpful? Give feedback.
All reactions