Added in API level 1
OnDateChangedListener
interface OnDateChangedListener
android.widget.DatePicker.OnDateChangedListener |
The callback used to indicate the user changed the date.
Summary
Public methods | |
---|---|
abstract Unit |
onDateChanged(view: DatePicker!, year: Int, monthOfYear: Int, dayOfMonth: Int) Called upon a date change. |
Public methods
onDateChanged
Added in API level 1
abstract fun onDateChanged(
view: DatePicker!,
year: Int,
monthOfYear: Int,
dayOfMonth: Int
): Unit
Called upon a date change.
Parameters | |
---|---|
view |
DatePicker!: The view associated with this listener. |
year |
Int: The year that was set. |
monthOfYear |
Int: The month that was set (0-11) for compatibility with java.util.Calendar . |
dayOfMonth |
Int: The day of the month that was set. |