You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newValue.toString() doesn't give me any formatted HH:mm as mentioned in wiki.
((TimePickerPreference) preference).getHourOfDay() + ":" + ((TimePickerPreference) preference).getMinute()) gives me -1:-1
((TimePickerPreference) preference).getTime() gives me null.
However whenever I press OK, after picking the time, it puts on the field summary correct time.
Am I doing something, wrong or is there some issue going on?
The text was updated successfully, but these errors were encountered:
This is an issue I have too - the preference returns the previous value, rather than the current one.
However, this fix should allow you to get the time:
int hour = ((TimePickerPreference.TimeWrapper) newValue).hour;
int minute = ((TimePickerPreference.TimeWrapper) newValue).minute;
Hello,
After migrating to androidx I've got this weird error. Whenever, I use
However whenever I press OK, after picking the time, it puts on the field summary correct time.
Am I doing something, wrong or is there some issue going on?
The text was updated successfully, but these errors were encountered: