Android Guides | Samples

Android.Widget.NumberPicker.SetFormatter Method

Set the formatter to be used for formatting the current value.

Syntax

[Android.Runtime.Register("setFormatter", "(Landroid/widget/NumberPicker$Formatter;)V", "GetSetFormatter_Landroid_widget_NumberPicker_Formatter_Handler")]
public virtual Void SetFormatter (NumberPicker+IFormatter formatter)

See Also

Parameters

formatter
The formatter object. If formatter is null, String.ValueOf(Int32) will be used.

Remarks

Set the formatter to be used for formatting the current value.

Note: If you have provided alternative values for the values this formatter is never invoked.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11