androidx.hilt.navigation.compose

Composables

hiltViewModel

Returns an existing HiltViewModel -annotated ViewModel or creates a new one scoped to the current navigation graph present on the {@link NavController} back stack.