Illegal argument exception in android dialog

前端 未结 4 1519
礼貌的吻别
礼貌的吻别 2021-01-18 07:34

i am using this code to show alert dialog...when i click on the ok button it should show the date picker..

protected Dialog onCreateDialog(int id) {
    swit         


        
4条回答
  •  别那么骄傲
    2021-01-18 07:57

    you must have changed mYear, mMonth, mDay values. months are 0-11. make sure your values are in the range

提交回复
热议问题