Added in API level 11

OnDateChangeListener


interface OnDateChangeListener
android.widget.CalendarView.OnDateChangeListener

The callback used to indicate the user changes the date.

Summary

Public methods
abstract Unit
onSelectedDayChange(view: CalendarView, year: Int, month: Int, dayOfMonth: Int)

Called upon change of the selected day.

Public methods

onSelectedDayChange

Added in API level 11
abstract fun onSelectedDayChange(
    view: CalendarView,
    year: Int,
    month: Int,
    dayOfMonth: Int
): Unit

Called upon change of the selected day.

Parameters
view CalendarView: The view associated with this listener. This value cannot be null.
year Int: The year that was set.
month Int: The month that was set [0-11].
dayOfMonth Int: The day of the month that was set.