Package-level declarations

Functions

Link copied to clipboard
inline fun <VM : ViewModel> kojectKmpViewModel(viewModelStoreOwner: ViewModelStoreOwner = defaultViewModelStoreOwner(), key: String? = null, extras: CreationExtras = defaultPlatformCreationExtras(), savedStateHandleFactory: SavedStateHandleFactory? = LocalSavedStateHandleFactory.current, qualifier: Any? = null): VM

Returns an existing ViewModel or creates a new one by Koject.