I seen on other fourms on how you can access the cancel button on time picker by using .OnDismissListener but there notting on how to access the set button of a timepicker how do i do that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have a look at the TimePicker Android tutorial here.
You add a
OnTimeSetListener, which is called when the set button is called.For example (from the tutorial):