Interface EventResponseListView

  • All Superinterfaces:
    com.cheetahdigital.uikit.widget.list.EndlessListView, com.cheetahdigital.uikit.architecture.lce.LceView, com.cheetahdigital.uikit.widget.list.ListView, com.cheetahdigital.uikit.architecture.lce.MvpLceView, com.cheetahdigital.uikit.architecture.mvp.MvpView, com.cheetahdigital.uikit.architecture.refreshable.RefreshableView
    All Known Implementing Classes:
    EventResponseListFragment

    public interface EventResponseListView
    extends com.cheetahdigital.uikit.widget.list.EndlessListView
    EndlessListView class of EventResponseListFragment
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void appendEventResponses​(java.util.List<EventResponse> eventResponses, int totalEntries)
      Append a list of EventResponse to the current list
      void showEventResponsesList​(java.util.List<EventResponse> eventResponses, int totalEntries)
      Shows the list of EventResponse
      void showSnackbarError​(java.lang.String error)
      Show an error via snack bar
      • Methods inherited from interface com.cheetahdigital.uikit.widget.list.EndlessListView

        onFinishLoadMore, onLoadMoreFailed
      • Methods inherited from interface com.cheetahdigital.uikit.architecture.lce.LceView

        onLoadFailed, onLoadSuccess, setErrorViewClickListener
      • Methods inherited from interface com.cheetahdigital.uikit.architecture.lce.MvpLceView

        showContent, showError, showLoading
      • Methods inherited from interface com.cheetahdigital.uikit.architecture.refreshable.RefreshableView

        onFinishRefresh, onRefreshFailed
    • Method Detail

      • appendEventResponses

        void appendEventResponses​(java.util.List<EventResponse> eventResponses,
                                  int totalEntries)
        Append a list of EventResponse to the current list
        Parameters:
        eventResponses - list of EventResponse to append
        totalEntries - max number of EventResponse
      • showSnackbarError

        void showSnackbarError​(java.lang.String error)
        Show an error via snack bar
        Parameters:
        error - info of the error