diff --git a/hilt/view-model.md b/hilt/view-model.md index 086eda7993d..a1248f1cdba 100644 --- a/hilt/view-model.md +++ b/hilt/view-model.md @@ -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 }