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