I use TimePicker in my application. I found that if choosing the time, do not use the "+", "-" buttons, and immediately dial the required number of hours or minutes, then it almost never remains. For example, if I dial 8 in the clock, then this value will not be saved. If I dial 08, it will continue. If I use "+", "-", then everything is in order. This situation does not suit me. Maybe someone will tell you how to fix it. Listener:
picker.setOnTimeChangedListener(new TimePicker.OnTimeChangedListener() { @Override public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { Log.d("%%%%%%%%%%%%%", "new time: " + hourOfDay + ":" + minute); } }); does not display messages if I do not use the "+", "-" buttons, and displays if I use.