public class DatePickerDialog extends AlertDialog implements android.content.DialogInterface.OnClickListener, OnDateChangedListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatePickerDialog.OnDateSetListener
The callback used to indicate the user is done filling in the date.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onClick(android.content.DialogInterface dialog,
int which) |
void |
onDateChanged(DatePicker view,
int year,
int monthOfYear,
int dayOfMonth)
Called upon a date change.
|
void |
onRestoreInstanceState(android.os.Bundle savedInstanceState) |
android.os.Bundle |
onSaveInstanceState() |
public void onClick(android.content.DialogInterface dialog,
int which)
onClick in interface android.content.DialogInterface.OnClickListenerpublic void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth)
OnDateChangedListeneronDateChanged in interface OnDateChangedListenerview - The view associated with this listener.year - The year that was set.monthOfYear - The month that was set (0-11) for compatibility
with Calendar.dayOfMonth - The day of the month that was set.public android.os.Bundle onSaveInstanceState()
public void onRestoreInstanceState(android.os.Bundle savedInstanceState)