Skip to content

Commit

Permalink
Fix typo in the view model doc
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 583036410
  • Loading branch information
kuanyingchou authored and Dagger Team committed Nov 16, 2023
1 parent eae55d0 commit 1d755f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hilt/view-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class MovieViewModel @Inject constructor(
Hilt View Models can also be
[assisted injected](https://dagger.dev/dev-guide/assisted-injection). Compared
to using `SavedStateHandle`, this enables passing data that are not `Parcelable`
to a Hilt View Model easily. To use asssited injection, annotate the view model
to a Hilt View Model easily. To use assisted injection, annotate the view model
constructor with `@AssistedInject` and the assisted parameters with `@Assisted`,
and specify the assisted factory in the `@HiltViewModel` annotation:

Expand Down

0 comments on commit 1d755f8

Please sign in to comment.