code: protected void dispatchOnDateSelected(final CalendarDay day, final boolean selected) {
      if (listener != null) {
        listener.onDateSelected(MaterialCalendarView.this, day, selected);
      }
    }
docs: Dispatch date change events to a listener, if set
  
  @param day the day that was selected
  @param selected true if the day is now currently selected, false otherwise