DatePickerDialog incorrectly enforcing a minimum date of Jan 1, 1970

前端 未结 4 1750
星月不相逢
星月不相逢 2021-01-04 20:30

We have a member reporting that he is unable to set a date before Jan 1, 1970 on our DatePickerDialog. This issue does not repro for us.

I am already aware that the

4条回答
  •  遥遥无期
    2021-01-04 21:31

    Hi I found the solution for it. you can set the -ve value in the setMinDate() method and it works for me.

    dp.setMinDate(-1576800000000L);
    

提交回复
热议问题