public static interface NumericTextView.OnValueChangedListener
Modifier and Type | Method and Description |
---|---|
void |
onValueChanged(NumericTextView view,
int value,
boolean isValid,
boolean isFinished)
Called when the value displayed by
view changes. |
void onValueChanged(NumericTextView view, int value, boolean isValid, boolean isFinished)
view
changes.view
- the view whose value changedvalue
- the new valueisValid
- true
if the value is valid (e.g. within the
range specified by NumericTextView.setRange(int, int)
),
false
otherwiseisFinished
- true
if the no more digits may be entered,
false
if more digits may be entered