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 ofPunchcard
orPunchcardInstance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendPunchcardInstanceList(java.util.List<PunchcardInstance> punchcards, int totalEntries)
This will be called by the presenter after a successful call to the API.void
showPunchcardInstanceList(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 ofPunchcardInstance
from 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 ofPunchcardInstance
from the APItotalEntries
- int total number of entries in the server
-
-