-
Notifications
You must be signed in to change notification settings - Fork 0
koin: Injecting the viewβmodel in compose
Devrath edited this page Mar 7, 2024
·
1 revision
@Composable
fun VariableInjectionComposable(navController: NavHostController) {
val vm = koinViewModel<VariableInjectionVm>()
Column(
modifier = Modifier.fillMaxSize(),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.Center
) {
}
}
class VariableInjectionVm() : ViewModel() {
}