NumberPickerDialog

A dialog that prompts the user for a number using a android.widget.NumberPicker.

Constructors

Link copied to clipboard
constructor(context: Context, theme: Int, callBack: NumberPickerDialog.OnValueChangeListener, minValue: Int, maxValue: Int, currentValue: Int)
constructor(context: Context, callBack: NumberPickerDialog.OnValueChangeListener, minValue: Int, maxValue: Int, currentValue: Int)

Types

Link copied to clipboard
The callback interface used to indicate the user is done filling in the time (they clicked on the 'Set' button).
Link copied to clipboard
private open class ValueChanged_V11
No op value chagend handler
Link copied to clipboard
No op value chagend handler

Properties

Link copied to clipboard
listener to notify when the value has changed
Link copied to clipboard
private val CURRENT_VALUE: String = "current_value"
name of maximum number in save instance
Link copied to clipboard
currently selected value.
Link copied to clipboard
private val MAX_VALUE: String = "max_value"
name of minimum number in save instance
Link copied to clipboard
minimum number to choose.
Link copied to clipboard
private val MIN_VALUE: String = "min_value"
name of maximum number in save instance
Link copied to clipboard
maximum number to choose.
Link copied to clipboard
private val Number_Picker: View
the actual picker widget
Link copied to clipboard
private val TAG: String
TAG as class name for logging

Functions

Link copied to clipboard
open fun onClick(dialog: DialogInterface, which: Int)
Link copied to clipboard
open fun onRestoreInstanceState(savedInstanceState: Bundle)
Link copied to clipboard
open fun onSaveInstanceState(): Bundle
save values
Link copied to clipboard
open fun toString(): String
debug text