Interface BadgesListView
- 
- All Superinterfaces:
 EndlessListView,LceView,ListView,MvpLceView,MvpView,RefreshableView
- All Known Implementing Classes:
 BadgesListFragment
public interface BadgesListView extends EndlessListView
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendBadges(java.util.List<Badge> badges, int totalEntries)Notifies the view to appendBadgetovoidshowBadges(java.util.List<Badge> badges, int totalEntries)Notifies the view to show theBadge.voidshowError(java.lang.String error)Call to API failed.- 
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
- 
showBadges
void showBadges(java.util.List<Badge> badges, int totalEntries)
Notifies the view to show theBadge.- Parameters:
 badges- the list ofBadgetotalEntries- the total number of badges
 
- 
appendBadges
void appendBadges(java.util.List<Badge> badges, int totalEntries)
Notifies the view to appendBadgeto- Parameters:
 badges- the list ofBadgetotalEntries- the total number of badges
 
- 
showError
void showError(java.lang.String error)
Call to API failed. Manage the error.- Parameters:
 error- error message from the API.
 
 - 
 
 -