library/src/main/java/com/alamkanak/weekview/WeekView.java
/**
     * Cache the event for smooth scrolling functionality.
     *
     * @param event The event to cache.
     */
Cache the event for smooth scrolling functionality.
@param event The event to cache.
Cache the event for smooth scrolling functionality . @param event The event to cache .
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));
        }
    }
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.
Cache the event for smooth scrolling functionality .