inline fun <VM : ViewModel> tangleViewModel(viewModelStoreOwner: ViewModelStoreOwner = checkNotNull(LocalViewModelStoreOwner.current) {
"No ViewModelStoreOwner was provided via LocalViewModelStoreOwner"
}): VM
Content copied to clipboard
Returns an existing VMInject-annotated ViewModel or creates a new one scoped to the current navigation graph present on the NavController back stack.