public class BirthdayDialog extends java.lang.Object implements android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnDismissListener, android.view.View.OnClickListener, MyDatePickDialog.DatePickerListener
限定符和类型 | 类和说明 |
---|---|
static interface |
BirthdayDialog.IBirthdayCancelListener |
构造器和说明 |
---|
BirthdayDialog(android.content.Context context) |
限定符和类型 | 方法和说明 |
---|---|
void |
addBirthCancelListener(BirthdayDialog.IBirthdayCancelListener listener) |
void |
onCancel(android.content.DialogInterface dialog) |
void |
onClick(android.view.View v) |
void |
onDatePickerCancel()
Note:这是cancel时的调用而非dismiss的调用,没有特殊需求不用实现
|
void |
onDismiss(android.content.DialogInterface dialog) |
void |
onSaveBirthday(java.lang.String birthday)
用户点击OK时会回调此方法
|
void |
show() |
public void show()
public void addBirthCancelListener(BirthdayDialog.IBirthdayCancelListener listener)
public void onCancel(android.content.DialogInterface dialog)
onCancel
在接口中 android.content.DialogInterface.OnCancelListener
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
public void onDatePickerCancel()
MyDatePickDialog.DatePickerListener
public void onSaveBirthday(java.lang.String birthday)
MyDatePickDialog.DatePickerListener
public void onDismiss(android.content.DialogInterface dialog)
onDismiss
在接口中 android.content.DialogInterface.OnDismissListener