Class: Toybox.WatchUi.PickerDelegate
- Inherits:
-
Toybox.Lang.Object
Overview
PickerDelegate responds to a Picker confirm or cancel.
See Also:
Note:
popView() is not automatically called once a Picker selection is made
Note:
See the Picker sample distributed with the SDK for an example of the use of the PickerDelegate class
Instance Method Summary collapse
-
onAccept(values as Lang.Array) as Lang.Boolean
Handle a confirm event from a Picker.
-
onActionMenu() as Lang.Boolean
Represents the Action Menu behavior.
-
onCancel() as Lang.Boolean
Handle a cancel event from a Picker.
Instance Method Details
onAccept(values as Lang.Array) as Lang.Boolean
Handle a confirm event from a Picker
Note:
A null
value will be returned for any Drawable entries
onActionMenu() as Lang.Boolean
Represents the Action Menu behavior.
This will be triggered when action menu is pushed. Invoke WatchUi.showActionMenu to push an action menu.
onCancel() as Lang.Boolean
Handle a cancel event from a Picker