private void addReminder(){
  if (mDefaultReminderMinutes == GeneralPreferences.NO_REMINDER) {
    EventViewUtils.addReminder(mActivity,mScrollView,this,mReminderItems,mReminderMinuteValues,mReminderMinuteLabels,mReminderMethodValues,mReminderMethodLabels,ReminderEntry.valueOf(GeneralPreferences.REMINDER_DEFAULT_TIME),mModel.mCalendarMaxReminders,null);
  }
 else {
    EventViewUtils.addReminder(mActivity,mScrollView,this,mReminderItems,mReminderMinuteValues,mReminderMinuteLabels,mReminderMethodValues,mReminderMethodLabels,ReminderEntry.valueOf(mDefaultReminderMinutes),mModel.mCalendarMaxReminders,null);
  }
  updateRemindersVisibility(mReminderItems.size());
  EventViewUtils.updateAddReminderButton(mView,mReminderItems,mModel.mCalendarMaxReminders);
}

private void addReminder ( ) { if ( mDefaultReminderMinutes == GeneralPreferences . NO_REMINDER ) { EventViewUtils . addReminder ( mActivity , mScrollView , this , mReminderItems , mReminderMinuteValues , mReminderMinuteLabels , mReminderMethodValues , mReminderMethodLabels , ReminderEntry . valueOf ( GeneralPreferences . REMINDER_DEFAULT_TIME ) , mModel . mCalendarMaxReminders , null ) ; } else { EventViewUtils . addReminder ( mActivity , mScrollView , this , mReminderItems , mReminderMinuteValues , mReminderMinuteLabels , mReminderMethodValues , mReminderMethodLabels , ReminderEntry . valueOf ( mDefaultReminderMinutes ) , mModel . mCalendarMaxReminders , null ) ; } updateRemindersVisibility ( mReminderItems . size ( ) ) ; EventViewUtils . updateAddReminderButton ( mView , mReminderItems , mModel . mCalendarMaxReminders ) ; }
add a new reminder when the user hits the " add reminder " button . we use the default reminder time and method .
