private void cacheEvent(WeekViewEvent event) {
        if(event.getStartTime().compareTo(event.getEndTime()) >= 0)
            return;
        List<WeekViewEvent> splitedEvents = event.splitWeekViewEvents();
        for(WeekViewEvent splitedEvent: splitedEvents){
            mEventRects.add(new EventRect(splitedEvent, event, null));
        }
    }
Cache the event for smooth scrolling functionality.
@param event The event to cache.
library/src/main/java/com/alamkanak/weekview/WeekView.java