Added in API level 1
OnDateSetListener
interface OnDateSetListener
android.app.DatePickerDialog.OnDateSetListener |
The listener used to indicate the user has finished selecting a date.
Summary
Public methods | |
---|---|
abstract Unit |
onDateSet(view: DatePicker!, year: Int, month: Int, dayOfMonth: Int) |
Public methods
onDateSet
Added in API level 1
abstract fun onDateSet(
view: DatePicker!,
year: Int,
month: Int,
dayOfMonth: Int
): Unit
Parameters | |
---|---|
view |
DatePicker!: the picker associated with the dialog |
year |
Int: the selected year |
month |
Int: the selected month (0-11 for compatibility with Calendar#MONTH ) |
dayOfMonth |
Int: the selected day of the month (1-31, depending on month) |