public static interface DatePicker.OnDateChangedListener
| android.widget.DatePicker.OnDateChangedListener |
| |
用于指示用户更改日期的回调。
公共方法(Public methods) |
|
|---|---|
abstract void |
onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth) 根据日期变化调用。 |
void onDateChanged (DatePicker view, int year, int monthOfYear, int dayOfMonth)
根据日期变化调用。
| 参数(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 Calendar. |
dayOfMonth |
int: The day of the month that was set. |