Custom DatePicker as Preference does not keep value when user edits value in field

前端 未结 3 1067
攒了一身酷
攒了一身酷 2021-02-04 19:09

I created a DatePickerPreference, i.e. I extended DialogPreference and created a DatePicker object inside and had it working almost perfectly. It changes values when you click t

3条回答
  •  终归单人心
    2021-02-04 19:21

    Please take a look at the DatePreference library:

    http://mikeburnscoder.wordpress.com/2010/09/27/datepreference-an-android-library/
    https://github.com/bostonandroid/DatePreference

    This should solve your problem.

提交回复
热议问题