Class EventDateDetailsPresenter<T extends EventDateDetailsView>

    • Constructor Detail

      • EventDateDetailsPresenter

        public EventDateDetailsPresenter​(java.lang.String eventId)
        Parameters:
        eventId - id of the event
    • Method Detail

      • onEventDownloadSuccess

        protected void onEventDownloadSuccess​(Event data)
        Called after a successful event request
        Parameters:
        data - received response parse in Event
      • onEventDownloadFailed

        protected void onEventDownloadFailed​(java.lang.String error)
        Called after a failed event request
        Parameters:
        error - detail of the error
      • onEventFavorited

        public void onEventFavorited​(boolean favorited)
        Set an Event as favorite/unfavorite
        Parameters:
        favorited - true to set as favorite, else false
      • onEventFavorited

        public void onEventFavorited​(boolean favorited,
                                     EventsParams eventsParams)
        Set an Event as favorite/unfavorite
        Parameters:
        favorited - true to set as favorite, else false
        eventsParams - EventsParams to use for responding
      • onEventFavoritedSuccess

        protected void onEventFavoritedSuccess​(SuccessResponse data)
        Called after a successful favorite request
        Parameters:
        data - response received
      • onEventFavoritedFailed

        protected void onEventFavoritedFailed​(java.lang.String error)
        Called after a failed favorite request
        Parameters:
        error - message of the error