Interface ReceiptsView
- 
- All Superinterfaces:
 EndlessListView,LceView,ListView,MvpLceView,MvpView,RefreshableView
- All Known Implementing Classes:
 ReceiptsFragment
public interface ReceiptsView extends EndlessListView
ExtendsEndlessListViewfor the Receipts List This interface contains methods that are called by the presenter when an API call is done 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidshowReceipts(java.util.List<Receipt> receipts, int totalEntries)This notifies the view when the call to the Receipt API is successfulvoidupdateReceipts(java.util.List<Receipt> receipts, int totalEntries)This notifies the view when the call to the Receipt API is successful but compared to theshowReceipts(List, int)this contains receipts for a certain page- 
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
- 
showReceipts
void showReceipts(java.util.List<Receipt> receipts, int totalEntries)
This notifies the view when the call to the Receipt API is successful- Parameters:
 receipts- list of receipt objectstotalEntries- total number of entries regardless of pagination
 
- 
updateReceipts
void updateReceipts(java.util.List<Receipt> receipts, int totalEntries)
This notifies the view when the call to the Receipt API is successful but compared to theshowReceipts(List, int)this contains receipts for a certain page- Parameters:
 receipts- list of receiptstotalEntries- total entries regardless of pagination
 
 - 
 
 -