# androidx.lifecycle.viewmodel

*** ** * ** ***

## Annotations

|---|---|
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/ViewModelFactoryDsl` |   |

## Interfaces

|---|---|
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras.Key` | Key for the elements of `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras`. |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/ViewModelStoreProvider.ReferenceToken` | Represents an active hold on a specific `https://developer.android.com/reference/androidx/lifecycle/ViewModelStore`. |

## Classes

|---|---|
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras` | A map-like object holding pairs of `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras.Key` and `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html`, enabling efficient value retrieval for each key. |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtrasKt` |   |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/InitializerViewModelFactoryBuilder` | DSL for constructing a new `https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider.Factory` |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/InitializerViewModelFactoryKt` |   |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/MutableCreationExtras` | A modifiable `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras` that holds pairs of `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras.Key` and `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html`, allowing efficient value retrieval for each key. |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/ViewModelInitializer` | Holds a `https://developer.android.com/reference/androidx/lifecycle/ViewModel` class and initializer for that class |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/ViewModelStoreOwnerFactory` |   |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/ViewModelStoreProvider` | Manages a set of child `https://developer.android.com/reference/androidx/lifecycle/ViewModelStore` instances scoped to a parent `https://developer.android.com/reference/androidx/lifecycle/ViewModelStore`. |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras.Empty` | An empty read-only `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras`. |
| `https://developer.android.com/reference/androidx/lifecycle/viewmodel/ViewModelStoreProvider.ProviderMarkerKey` | A special marker key that can be used with `https://developer.android.com/reference/androidx/lifecycle/viewmodel/ViewModelStoreProvider#acquireToken(kotlin.Any)` to manage the lifecycle of the shared state associated with a particular `https://developer.android.com/reference/androidx/lifecycle/viewmodel/ViewModelStoreProvider#parentKey()`. |