Interface BadgeMetadataListView

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

    public interface BadgeMetadataListView
    extends com.cheetahdigital.uikit.widget.list.EndlessListView
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void appendBadgeMetadata​(java.util.List<Metadatum> metadata, int totalEntries)
      Notifies the view to show additional Badge metadata
      void showBadgeMetadata​(java.util.List<Metadatum> metadata, int totalEntries)
      Notifies the view to show Badge metadata
      void showError​(java.lang.String error)
      Call to API failed.
      • 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

      • showBadgeMetadata

        void showBadgeMetadata​(java.util.List<Metadatum> metadata,
                               int totalEntries)
        Notifies the view to show Badge metadata
        Parameters:
        metadata - list of Metadatum to show
        totalEntries - total number of items
      • appendBadgeMetadata

        void appendBadgeMetadata​(java.util.List<Metadatum> metadata,
                                 int totalEntries)
        Notifies the view to show additional Badge metadata
        Parameters:
        metadata - list of Metadatum to show
        totalEntries - total number of items
      • showError

        void showError​(java.lang.String error)
        Call to API failed. Manage the error.
        Parameters:
        error - error message from the API.