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!