Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hilt/view-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ A `@ViewModelScoped` type will make it so that a single instance of the scoped
type is provided across all dependencies injected into the Hilt View Model.
Other instances of a `ViewModel` that requests the scoped instance will receive
a different instance. Scoping to the `ViewModelComponent` allows for flexible
and granular scope since View Models surive configuration changes and their
and granular scope since View Models survive configuration changes and their
lifecycle is controlled by the activity or fragment. If a single instance needs
to be shared across various View Models then it should be scoped using either
`@ActivityRetainedScoped` or `@Singleton`.
Expand Down