public static interface DatePicker.OnDateChangedListener
android.widget.DatePicker.OnDateChangedListener |
Known Indirect Subclasses |
用于指示用户更改日期的回调。
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. |