Android development tutorial time dialog core code

The timepickerdialog method has five parameters. The first parameter (mainactivity. This) is the activity pointer where the pop-up time dialog box is located; The second parameter we finally say; The third parameter (hour) and the fourth parameter (minute) are the hours and minutes initially displayed in the pop-up time dialog box, the fifth parameter is the display parameter when setting 24, and true represents the time. The time is displayed in 24-hour system.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>