lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 11

NumberPicker.Formatter

public static interface NumberPicker.Formatter

android.widget.NumberPicker.Formatter


Interface used to format current value into a string for presentation.

Summary

Public methods

abstract String format(int value)

Formats a string representation of the current value.

Public methods

format

added in API level 11
public abstract String format (int value)

Formats a string representation of the current value.

Parameters
value int: The currently selected value.

Returns
String A formatted string representation.