Interface RedemptionsListView
-
- All Superinterfaces:
EndlessListView,LceView,ListView,MvpLceView,MvpView,RefreshableView
- All Known Implementing Classes:
RedemptionsListFragment
public interface RedemptionsListView extends EndlessListView
TheMvpViewclass forRedemptionsListFragment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendRedemptionsList(java.util.List<Redemption> redemptions, int totalEntries)Notifies the view to append the existingRedemptionlist.voidshowRedemptionsList(java.util.List<Redemption> redemptions, int totalEntries)Notifies the view to show theRedemptionlist.-
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
-
showRedemptionsList
void showRedemptionsList(java.util.List<Redemption> redemptions, int totalEntries)
Notifies the view to show theRedemptionlist. This also means that the GET Redemption API was successful- Parameters:
redemptions- the list ofRedemptiontotalEntries- the total number of offers
-
appendRedemptionsList
void appendRedemptionsList(java.util.List<Redemption> redemptions, int totalEntries)
Notifies the view to append the existingRedemptionlist. This also means that the GET offers API with pagination was successful- Parameters:
redemptions- the list ofRedemptiontotalEntries- the total number of offers
-
-