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
When creating a ScreenModel, we can set a tag parameter through the rememberScreenModel method to achieve the ability to create different ScreenModel objects.
However, if this ScreenModel uses dependency injection, the creation method is different.
But similarly, it should also need to support using tag parameters to create different instances.
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
-
When creating a ScreenModel, we can set a tag parameter through the
rememberScreenModel
method to achieve the ability to create different ScreenModel objects.However, if this ScreenModel uses dependency injection, the creation method is different.
But similarly, it should also need to support using tag parameters to create different instances.
Beta Was this translation helpful? Give feedback.
All reactions