SimplicityApks / ReminderDatePicker

A Google Keep-like Date and Time Picker for reminders
Apache License 2.0
74 stars 26 forks source link

Flag numbers is ignored if setTimeFormat is used #11

Closed chrisonline closed 9 years ago

chrisonline commented 9 years ago

If I use the new method setTimeFormat the flag "numbers" is ignored from the XML. No time is on the spinner. In the DropDown it works.

It is only working if I set the flags via method setFlags().

With setTimeFormat: Morning

Without setTimeFormat: Morning 09:00

SimplicityApks commented 9 years ago

OK this is a rather strange bug, will have a look into it. Thanks for reporting!

SimplicityApks commented 9 years ago

It seems like the naive and brutal recreation of the SpinnerAdapter in setTimeFormat() killed more than I had thought of in the beginning... Anyway it is fixed now, I'll push a new version to Maven central once the other bug is fixed. By the way, the bug occured with the more_time flag and the selection as well.

SimplicityApks commented 9 years ago

Fixed in release 1.1.3 (3e73e247).