From 8cd51bb4c7f7c0d95172cbc9a7d95afd58f8cc44 Mon Sep 17 00:00:00 2001 From: Marcin Kozinski Date: Fri, 13 Dec 2024 15:43:13 -0800 Subject: [PATCH] Fix typo in Hilt ViewModel assisted injection factory Kotlin snippet Closes https://github.com/google/dagger/pull/4426 RELNOTES=n/a PiperOrigin-RevId: 706024118 --- 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 }