DatePicker.OnDateChangedListener called twice

前端 未结 9 990
误落风尘
误落风尘 2020-12-05 17:08

I\'m trying to create an app where the user selects a date from a DatePicker, and then a list is updated with some values.

My GUI looks like this:

         


        
9条回答
  •  攒了一身酷
    2020-12-05 17:27

    Please check my answer over here. It is for TimePickerDialog but also applicable for DatePickerDialog. You can create a custom dialog, it's almost equally as fast and simple and just works.

    https://stackoverflow.com/a/25672760/940450

提交回复
热议问题