Hi, I have a question.
Is it possible to use two storage types in Menu 2 == on Select(item)?
I think
Storage.setValue
Application.Properties.setValue.
The point is that I want to save something to the watch storage and have the transformations in Application.Properties.setValue.
Here is the shortcode:
public function onSelect(item) as Void { if (item instanceof WatchUi.IconMenuItem) { item.setSubLabel((item.getIcon() as colors).nextState(item.getId())); } else if (item instanceof WatchUi.ToggleMenuItem) { Storage.setValue(item.getId() as Number, item.isEnabled()); Properties.setValue(item.getId() as Number, item.isEnabled()); }
Thanks for the reply.