Skip to content

Commit

Permalink
Fix typo in Hilt ViewModel assisted injection factory Kotlin snippet
Browse files Browse the repository at this point in the history
Closes #4426

RELNOTES=n/a
PiperOrigin-RevId: 706024118
  • Loading branch information
marcin-kozinski authored and Dagger Team committed Dec 13, 2024
1 parent 687dcba commit 8cd51bb
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 @@ -228,7 +228,7 @@ interface MovieViewModelFactory {
```kotlin
@AssistedFactory
interface MovieViewModelFactory {
fun create(val movieId: Int): MovieViewModel
fun create(movieId: Int): MovieViewModel
}
```
{: .c-codeselector__code .c-codeselector__code_kotlin }
Expand Down

0 comments on commit 8cd51bb

Please sign in to comment.