I can't understand how to use time picker dialog when my main class is a fragment on its own.
Please share some code so that I can solve this problem. I am stuck with this. Are there some additional methods that I would require to implement?
Using a separate TimePickerFragment class public class FirstFragment extends Fragment implements TimePickerFragment.TimeDialogListener
throws the error:
Class 'FirstFragment' must either be declared abstract or implement abstract method 'onFinishDialog(String)' in 'TimeDialogListener'