Trym Nilsen
01/26/2023, 12:32 PMby activityViewModel<...>()
and i wondered if there is something similar or what i would need to pass to the getViewModel
composable to get the same result.Pedro Alberto
01/26/2023, 1:30 PM@Composable
fun Greeting(
helloViewModel: ViewModel
) {
arnaud.giuliani
01/27/2023, 10:41 AMkoinViewModel()
should be enough to retrieve your VM inside your Composable function