Added in API level 11
CalendarView.OnDateChangeListener
public
static
interface
CalendarView.OnDateChangeListener
android.widget.CalendarView.OnDateChangeListener |
The callback used to indicate the user changes the date.
Summary
Public methods | |
---|---|
abstract
void
|
onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth)
Called upon change of the selected day. |
Public methods
onSelectedDayChange
Added in API level 11
public abstract void onSelectedDayChange (CalendarView view, int year, int month, int dayOfMonth)
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. |