public class MyDatePickDialog
extends java.lang.Object
implements android.content.DialogInterface.OnCancelListener
限定符和类型 | 类和说明 |
---|---|
static interface |
MyDatePickDialog.DatePickerListener |
构造器和说明 |
---|
MyDatePickDialog(android.content.Context context,
int year,
int month,
int day,
boolean isShowConfirm)
初始化生日选择弹框
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBirthdayString() |
void |
onCancel(android.content.DialogInterface dialog) |
void |
setDatePickerListener(MyDatePickDialog.DatePickerListener listener) |
void |
show() |
void |
showWithoutCloseBtn() |
public MyDatePickDialog(android.content.Context context, int year, int month, int day, boolean isShowConfirm)
context
- year
- 年份month
- 月份 范围 1 ~ 12day
- 天isShowConfirm
- 是否显示确认对话框public void setDatePickerListener(MyDatePickDialog.DatePickerListener listener)
public void showWithoutCloseBtn()
public void show()
public java.lang.String getBirthdayString()
public void onCancel(android.content.DialogInterface dialog)
onCancel
在接口中 android.content.DialogInterface.OnCancelListener