Android TimePicker AM/PM button not invoking onTimeChanged

前端 未结 11 1124
半阙折子戏
半阙折子戏 2021-02-05 12:38

I\'m having some issues implementing a TimePicker in my application that allows the user to change the time of a database record prior to inserting it.

The problem is th

11条回答
  •  执念已碎
    2021-02-05 13:30

    Here's a quick project that I threw together that supports Android 4.0+. Basically, it shows a TextView that is always in sync with the TimePicker, regardless of which vertical spinner is being manipulated by the user.

    https://gist.github.com/danialgoodwin/5694256

提交回复
热议问题