public static interface CalendarView.OnDateChangeListener
| android.widget.CalendarView.OnDateChangeListener |
用于指示用户更改日期的回调。
公共方法(Public methods) |
|
|---|---|
abstract void |
onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth) 在选定日期发生变化时调用。 |
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. |