@Override public void eventClick(final EventClick event) { if (event != null) { CalendarView.this.currentEvent = (ScoutCalEvent) event.getCalendarEvent(); CalendarView.this.eventDetails.setEvent(CalendarView.this.currentEvent.getEntity(), false); } else { CalendarView.this.currentEvent = null; CalendarView.this.eventDetails.setEvent(null, false); } }