How do you get a DatePicker from a DatePickerDialog?

后端 未结 2 965
眼角桃花
眼角桃花 2021-01-02 07:38

I have a activity that is popping up a android.app.DatePickerDialog.

DatePickerDialog dialog =  new DatePickerDialog(this, startDateSetListener, start_cal.g         


        
2条回答
  •  情书的邮戳
    2021-01-02 08:26

    You misread, it's only available since API 11:

    "public DatePicker getDatePicker () Since: API Level 11". Look closely.

提交回复
热议问题