Tasks/src/main/java/com/dummies/tasks/fragment/TaskEditFragment.java
@Override
    public void onTimeSet(TimePicker view, int hour, int minute) {
        taskDateAndTime.set(Calendar.HOUR_OF_DAY, hour);
        taskDateAndTime.set(Calendar.MINUTE, minute);
        updateDateAndTimeButtons();
    }
/**
     * This is the method that our Time Picker Dialog will call when
     * the user picks a time in the dialog.
     */
This is the method that our Time Picker Dialog will call when
the user picks a time in the dialog.
This is the method that our Time Picker Dialog will call when the user picks a time in the dialog .
@Override
    public void onTimeSet(TimePicker view, int hour, int minute) {
        taskDateAndTime.set(Calendar.HOUR_OF_DAY, hour);
        taskDateAndTime.set(Calendar.MINUTE, minute);
        updateDateAndTimeButtons();
    }
@ Override public void onTimeSet ( TimePicker view , int hour , int minute ) { taskDateAndTime . set ( Calendar . HOUR_OF_DAY , hour ) ; taskDateAndTime . set ( Calendar . MINUTE , minute ) ; updateDateAndTimeButtons ( ) ; }
This is the method that our Time Picker Dialog will call when
 the user picks a time in the dialog.
This is the method that our Time Picker Dialog will call when the user picks a time in the dialog .