public static interface NumberPicker.Formatter
| android.widget.NumberPicker.Formatter |
用于将当前值格式化为用于演示的字符串的接口。
Public methods |
|
|---|---|
abstract String |
format(int value) 格式化当前值的字符串表示形式。 |
String format (int value)
格式化当前值的字符串表示形式。
| Parameters | |
|---|---|
value |
int: The currently selected value. |
| Returns | |
|---|---|
String |
A formatted string representation. |