public static interface DatePickerDialog.OnDateSetListener
| android.app.DatePickerDialog.OnDateSetListener |
监听者用来指示用户完成选择日期。
Public methods |
|
|---|---|
abstract void |
onDateSet(DatePicker view, int year, int month, int dayOfMonth) |
void onDateSet (DatePicker view, int year, int month, int dayOfMonth)
| Parameters | |
|---|---|
view |
DatePicker: the picker associated with the dialog |
year |
int: the selected year |
month |
int: the selected month (0-11 for compatibility with MONTH) |
dayOfMonth |
int: th selected day of the month (1-31, depending on month) |