Package 

Class TangleViewModelKt

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • tangleViewModel

        @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.