Last active
February 17, 2020 15:15
-
-
Save januprasad/0d67f88714240dce87ab29654b33eeea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun onTimeSet(timePicker: TimePicker?, hour: Int, minute: Int) { | |
val calendar = Calendar.getInstance() | |
calendar.set(Calendar.HOUR_OF_DAY, hour) | |
calendar.set(Calendar.MINUTE, minute) | |
calendar.set(Calendar.SECOND, 0) | |
startAlarm(calendar) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment