Interface EventDateListView

    • Method Detail

      • showEventDates

        void showEventDates​(java.util.List<EventDate> eventDates)
        Shows the event on a specific date
        Parameters:
        eventDates - instance of EventDate to use for updating event and favorite list
      • showErrorToast

        void showErrorToast​(java.lang.String error)
        Shows an error
        Parameters:
        error - info about the error
      • initializeList

        void initializeList​(java.util.List<EventDate> dates)
        Initialize the list after download. This should be triggered only once due to calculating of nearest date on current date
        Parameters:
        dates - list of EventDate to populate the dates and event list
      • updateEventList

        void updateEventList​(java.util.List<Event> events)
        Update the list of events
        Parameters:
        events - list of Event to assign in current list
      • updateFavoriteList

        void updateFavoriteList​(java.util.List<Event> events)
        Update the list of favorite events
        Parameters:
        events - list of favorited Event to assign in current list
      • showEvents

        void showEvents​(EventDate eventDate)
        Show the events on current date
        Parameters:
        eventDate - instance of EventDate used to populate the events