Android 4.2 - DatePicker crashes when minDate is set and selected date before minDate

谁都会走 提交于 2019-12-13 17:40:16

问题


In 4.2 JB, my app that uses the DatePicker crashes. This happens only when a minDate is set (setMinDate). When I scroll to a date before the minDate, the app crashes.

The crash occurs both on my Samsung Galaxy Nexus and on the emulator with Android 4.2. This bug doesn't occur using the emulator with Android 4.1.

I build the app against 4.2 (API 17).

Anybody else with this issue or am I the only one?

I already created a bug report. You can see the crash log there. Goolge bug report

UPDATE: Seems like they fixed this bug in 4.2.1

来源:https://stackoverflow.com/questions/13746035/android-4-2-datepicker-crashes-when-mindate-is-set-and-selected-date-before-mi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!