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.
-
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
onCancel() as Lang.Boolean
Handle a cancel event from a Picker