posted 6 years ago
Hi guys!
I have a problem with TimePickerDialog.
I use a class that extends RelativeLayout it's my own view (MyViewCalss). In this class I have a button (named "Select time") and a TextView that display selected date. After clicking on that button I show mentioned TimePickerDialog usieng: mTimePickerFragment.show(((Activity) context).getFragmentManager(), "TAG"); in MyViewCalss.
MyViewCalss contains method named setTimeLabel() for setting my TextView.
This is my TimePickerDialog class:
All i need is to call method (placed in MyViewCalss) when time is chnged - from onTimeSet() method. How can I do that?