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

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.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.