Most visited

Recently visited

Added in API level 11

CalendarView.OnDateChangeListener

public static interface CalendarView.OnDateChangeListener

android.widget.CalendarView.OnDateChangeListener


用于指示用户更改日期的回调。

Summary

Public methods

abstract void onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth)

在选定日期发生变化时调用。

Public methods

onSelectedDayChange

Added in API level 11
void onSelectedDayChange (CalendarView view, 
                int year, 
                int month, 
                int dayOfMonth)

在选定日期发生变化时调用。

Parameters
view CalendarView: The view associated with this listener.
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.

Hooray!