I’m trying to migrate some code to compose and have come across a scenario where I have a viewmodel defined in an activity with koin and would like to use this inside of a composable within a composeview in this activity. What would be the easiest way of doing this? My old non-migrated fragment used
by activityViewModel<...>()
and i wondered if there is something similar or what i would need to pass to the