We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
viewModel
1 parent 95023f1 commit da71492Copy full SHA for da71492
1 file changed
lifecycle-viewmodel/src/commonMain/kotlin/ViewModel.kt
@@ -47,7 +47,8 @@ expect inline fun <reified VM : ViewModel> viewModel(
47
"Use the one with a `viewModelStoreOwner` parameter instead. " +
48
"This function might be removed in the future. " +
49
"If you call this function with a `key` argument, make sure you used a named argument " +
50
- "so your source still compiles when this is removed."
+ "so your source still compiles when this is removed.",
51
+ level = DeprecationLevel.HIDDEN
52
)
53
@Composable
54
inline fun <reified VM : ViewModel> viewModel(
0 commit comments