Interface OfferResponseListView
-
- All Superinterfaces:
EndlessListView
,LceView
,ListView
,MvpLceView
,MvpView
,RefreshableView
- All Known Implementing Classes:
OfferResponseListFragment
public interface OfferResponseListView extends EndlessListView
An interface that extendsEndlessListView
for the list and has methods that is called in presenter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendOfferResponseList(java.util.List<OfferResponse> offerResponse, int totalEntries)
Notifies the view to append the existingOfferResponse
list.void
refreshList()
Refresh the list by clearing the cache and recalling the GET offer response APIvoid
showOfferResponseList(java.util.List<OfferResponse> offerResponse, int totalEntries)
Notifies the view to show theOfferResponse
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
-
showOfferResponseList
void showOfferResponseList(java.util.List<OfferResponse> offerResponse, int totalEntries)
Notifies the view to show theOfferResponse
list. This also means that the GET offer response API was successful- Parameters:
offerResponse
- list of offer responsetotalEntries
- total expected entries regardless of pagination
-
appendOfferResponseList
void appendOfferResponseList(java.util.List<OfferResponse> offerResponse, int totalEntries)
Notifies the view to append the existingOfferResponse
list. This also means that the GET offer response API with pagination was successful- Parameters:
offerResponse
- list of the next set of offer responsetotalEntries
- total expected entries regardless of pagination
-
refreshList
void refreshList()
Refresh the list by clearing the cache and recalling the GET offer response API
-
-