Number Widgets

Number Widgets — How to migrate Number Widgets

Migrating Number Widgets

To achieve the same functionlity of HildonNumberEditor you
can use a HildonPickerButton with a HildonTouchSelectorEntry assigned
to it. With these widgets you can also easily have the functionality
of a HildonRangeEditor (not covered in this example). Both the
HildonNumberEditor and the HildonRangeEditor are deprecated since
Hildon 2.2.

The functionality of the example above is shown on the example
bellow using by validating the HildonPickerButton's value every time
it's changed. The choices given in the HildonTouchSelectorShould be
the most common choices.