Class AN_WheelPickerDialog
A simple dialog containing an NumberPicker.
Inheritance
System.Object
AN_WheelPickerDialog
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.Android.App
Assembly: cs.temp.dll.dll
Syntax
public class AN_WheelPickerDialog
Constructors
AN_WheelPickerDialog(List<String>, Int32)
Creates a new number picker dialog.
Declaration
public AN_WheelPickerDialog(List<string> values, int defaultValueIndex = 0)
Parameters
Type | Name | Description |
---|---|---|
List<System.String> | values | list of the elements to choose from. |
System.Int32 | defaultValueIndex | Default value index. |
Properties
DefaultValueIndex
Default value index. 0
by default.
Declaration
public int DefaultValueIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Values
Picker values.
Declaration
public List<string> Values { get; }
Property Value
Type | Description |
---|---|
List<System.String> |
Methods
Show(Action<AN_WheelPickerResult>)
Start the dialog and display it on screen.
Declaration
public void Show(Action<AN_WheelPickerResult> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<AN_WheelPickerResult> | callback |