Interface EventListView

  • 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:
    EventListFragment

    public interface EventListView
    extends com.cheetahdigital.uikit.widget.list.EndlessListView
    EndlessListView class of EventListFragment
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void appendEventsList​(java.util.List<Event> events, int totalEntries)
      Append the list to the current list present
      void showEventsList​(java.util.List<Event> events, int totalEntries)
      Shows the event list
      void updateSpinnerCategories​(java.util.List<java.lang.String> stringCategories, int postion)
      Update the spinner categories
      • 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

      • showEventsList

        void showEventsList​(java.util.List<Event> events,
                            int totalEntries)
        Shows the event list
        Parameters:
        events - list of Event to show
        totalEntries - max number of Event
      • appendEventsList

        void appendEventsList​(java.util.List<Event> events,
                              int totalEntries)
        Append the list to the current list present
        Parameters:
        events - list of Event to append
        totalEntries - max number of Event
      • updateSpinnerCategories

        void updateSpinnerCategories​(java.util.List<java.lang.String> stringCategories,
                                     int postion)
        Update the spinner categories
        Parameters:
        stringCategories - list of categories to be populated in the spinner
        postion - index of the current selected category