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. |