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
I want to use the color picker on a screen to select a color, then leave the screen and when I come back to the color picker screen I want it to have the color i set before.
Currently I save the picked color in a ViewModel but when I reenter the color picker screen, the color picker reinitializes and overwrites the saved color with a white color.
Is it possible to reenter the color picker screen without reinitializing the HsvColorPicker?
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
-
Hi Folks,
I want to use the color picker on a screen to select a color, then leave the screen and when I come back to the color picker screen I want it to have the color i set before.
Currently I save the picked color in a ViewModel but when I reenter the color picker screen, the color picker reinitializes and overwrites the saved color with a white color.
Is it possible to reenter the color picker screen without reinitializing the HsvColorPicker?
Beta Was this translation helpful? Give feedback.
All reactions