You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Koin 3.2.0 (io.insert-koin:koin-androidx-compose:3.2.0) there is a Compose-specific getStateViewModel method for creating ViewModels with SavedStateHandle. It is deprecated with "getStateViewModel will be merged to sharedViewModel - no need anymore of state parameter" statement.
I cannot find a composable alternative of sharedViewModel. What is expected to be used instead?
(Of course I can continue using getStateViewModel for the time being. But this deprecation means something, doesn't it?)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As of Koin 3.2.0 (io.insert-koin:koin-androidx-compose:3.2.0) there is a Compose-specific
getStateViewModel
method for creating ViewModels with SavedStateHandle. It is deprecated with"getStateViewModel will be merged to sharedViewModel - no need anymore of state parameter"
statement.I cannot find a composable alternative of
sharedViewModel
. What is expected to be used instead?(Of course I can continue using
getStateViewModel
for the time being. But this deprecation means something, doesn't it?)Beta Was this translation helpful? Give feedback.
All reactions