-
public final class TangleViewModelKt
-
-
Method Summary
Modifier and Type Method Description final static <VM extends ViewModel> VMtangleViewModel(ViewModelStoreOwner viewModelStoreOwner)Returns an existing VMInject-annotated ViewModel or creates a new one scoped to the current navigation graph present on the NavController back stack. -
-
Method Detail
-
tangleViewModel
@Deprecated(message = this is the wrong package name. Use `tangle.viewmodel.compose.tangleViewModel` instead. | |Please forgive the lack of an auto-fix but IntelliJ can't handle replacing the inline function properly. )@Composable() final static <VM extends ViewModel> VM tangleViewModel(ViewModelStoreOwner viewModelStoreOwner)
Returns an existing VMInject-annotated ViewModel or creates a new one scoped to the current navigation graph present on the NavController back stack.
-
-
-
-