Interface FeedsListView
-
- All Superinterfaces:
EndlessListView,LceView,ListView,MvpLceView,MvpView,RefreshableView
- All Known Implementing Classes:
FeedsListFragment
public interface FeedsListView extends EndlessListView
TheMvpViewclass forFeedsListFragment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendFeed(java.util.List<Feed> feedList, int totalEntries)Notifies the view to append list ofFeedto the existing list ofshowFeedsList(List, int)This also means that the GET feeds API with pagination was successful.voidshowFeedsList(java.util.List<Feed> feedList, int totalEntries)Notifies the view to show the list ofFeed.-
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
-
showFeedsList
void showFeedsList(java.util.List<Feed> feedList, int totalEntries)
Notifies the view to show the list ofFeed. This also means that the GET feeds API was successful.- Parameters:
feedList- lif ofFeedtotalEntries- total number of feeds regardless of pagination
-
appendFeed
void appendFeed(java.util.List<Feed> feedList, int totalEntries)
Notifies the view to append list ofFeedto the existing list ofshowFeedsList(List, int)This also means that the GET feeds API with pagination was successful.- Parameters:
feedList- lif ofFeedtotalEntries- total number of feeds regardless of pagination
-
-