Interface PunchcardListView
-
- All Superinterfaces:
EndlessListView,LceView,ListView,MvpLceView,MvpView,RefreshableView
- All Known Implementing Classes:
PunchcardListFragment
public interface PunchcardListView extends EndlessListView
The MVP View for List ofPunchcardorPunchcardInstance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendPunchcardInstanceList(java.util.List<PunchcardInstance> punchcards, int totalEntries)This will be called by the presenter after a successful call to the API.voidshowPunchcardInstanceList(java.util.List<PunchcardInstance> punchcards, int totalEntries)This will be called by the presenter after a successful call to the API-
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
-
showPunchcardInstanceList
void showPunchcardInstanceList(java.util.List<PunchcardInstance> punchcards, int totalEntries)
This will be called by the presenter after a successful call to the API- Parameters:
punchcards- list ofPunchcardInstancefrom the APItotalEntries- int total number of entries in the server
-
appendPunchcardInstanceList
void appendPunchcardInstanceList(java.util.List<PunchcardInstance> punchcards, int totalEntries)
This will be called by the presenter after a successful call to the API. This is a special implementation for components with EndlessList implementation- Parameters:
punchcards- list ofPunchcardInstancefrom the APItotalEntries- int total number of entries in the server
-
-