Most visited

Recently visited

Added in API level 11

NumberPicker.Formatter

public static interface NumberPicker.Formatter

android.widget.NumberPicker.Formatter


用于将当前值格式化为用于演示的字符串的接口。

摘要(Summary)

公共方法(Public methods)

abstract String format(int value)

格式化当前值的字符串表示形式。

公共方法(Public methods)

format

Added in API level 11
String format (int value)

格式化当前值的字符串表示形式。

参数(Parameters)
value int: The currently selected value.
返回(Returns)
String A formatted string representation.

Hooray!