NavViewModelStoreProvider

@RestrictTo([Scope.LIBRARY_GROUP]) interface NavViewModelStoreProvider
androidx.navigation.NavViewModelStoreProvider

Interface that allows you to retrieve a ViewModelStore associated with a particular NavBackStackEntry.id.

Summary

Public methods
abstract ViewModelStore
getViewModelStore(backStackEntryId: String)

Public methods

getViewModelStore

abstract fun getViewModelStore(backStackEntryId: String): ViewModelStore