NumberPicker.SetDisplayedValues(String[]) Method

Definition

Sets the values to be displayed.

[Android.Runtime.Register("setDisplayedValues", "([Ljava/lang/String;)V", "GetSetDisplayedValues_arrayLjava_lang_String_Handler")]
public virtual void SetDisplayedValues (string[]? displayedValues);
[<Android.Runtime.Register("setDisplayedValues", "([Ljava/lang/String;)V", "GetSetDisplayedValues_arrayLjava_lang_String_Handler")>]
abstract member SetDisplayedValues : string[] -> unit
override this.SetDisplayedValues : string[] -> unit

Parameters

displayedValues
String[]

The displayed values.

        &lt;strong&gt;Note:&lt;/strong&gt; The length of the displayed values array
        must be equal to the range of selectable numbers which is equal to
        <code data-dev-comment-type="c">#getMaxValue()</code> - <code data-dev-comment-type="c">#getMinValue()</code> + 1.
Attributes

Remarks

Sets the values to be displayed.

Java documentation for android.widget.NumberPicker.setDisplayedValues(java.lang.String[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to