NumberPicker.SetDisplayedValues(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
<strong>Note:</strong> 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.