Interface GiftcardsListView
- 
- 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:
 GiftcardsListFragment
public interface GiftcardsListView extends com.cheetahdigital.uikit.widget.list.EndlessListViewView to be implemented forGiftcardsListFragment 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendGiftcardsList(java.util.List<Giftcard> giftcards, int totalEntries)This notifies the view to append a list ofGiftcardto the existing list fromshowGiftcardsList(List, int)voidprocessSuccessfulPurchaseResponse(PurchaseResponse response)This notifies the view that gift card purchase API has respondedvoidpurchaseFailed(java.lang.String error)This notifies the view that gift card purchase API has failedvoidshowGiftcardsList(java.util.List<Giftcard> giftcards, int totalEntries)This notifies the view to show the list ofGiftcard- 
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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
showGiftcardsList
void showGiftcardsList(java.util.List<Giftcard> giftcards, int totalEntries)
This notifies the view to show the list ofGiftcard- Parameters:
 giftcards- list ofGiftcardtotalEntries- total number of items
 
- 
appendGiftcardsList
void appendGiftcardsList(java.util.List<Giftcard> giftcards, int totalEntries)
This notifies the view to append a list ofGiftcardto the existing list fromshowGiftcardsList(List, int)- Parameters:
 giftcards- list ofGiftcardfor a certain pagetotalEntries- total number of items
 
- 
processSuccessfulPurchaseResponse
void processSuccessfulPurchaseResponse(PurchaseResponse response)
This notifies the view that gift card purchase API has responded- Parameters:
 response- purchase response
 
- 
purchaseFailed
void purchaseFailed(java.lang.String error)
This notifies the view that gift card purchase API has failed- Parameters:
 error- error
 
 - 
 
 -