From fe57a4792ddd7918e0b02fa22388c0a62493911b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Kozi=C5=84ski?= Date: Wed, 4 Sep 2024 15:33:07 +0200 Subject: [PATCH] Fix typo in Hilt ViewModel assisted injection factory Kotlin snippet --- hilt/view-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }