Interface PlacesListView
-
- All Superinterfaces:
EndlessListView,LceView,ListView,MvpLceView,MvpView,RefreshableView
- All Known Implementing Classes:
NearbyPlacesFragment,PlacesListFragment
public interface PlacesListView extends EndlessListView
MvpViewclass ofPlacesListFragment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendPlacesList(java.util.List<Place> places, int totalEntries)This notifies the view to append the list ofPlaceto the existing listvoidclear()This notifies the view to clear the adapter inPlacesListFragmentvoidshowPlacesList(java.util.List<Place> places, int totalEntries)This notifies the view to show the list ofPlace-
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
-
showPlacesList
void showPlacesList(java.util.List<Place> places, int totalEntries)
This notifies the view to show the list ofPlace- Parameters:
places- list ofPlacetotalEntries- total number of entries
-
appendPlacesList
void appendPlacesList(java.util.List<Place> places, int totalEntries)
This notifies the view to append the list ofPlaceto the existing list- Parameters:
places- list ofPlacefrom a certain pagetotalEntries- total number of entries
-
clear
void clear()
This notifies the view to clear the adapter inPlacesListFragment
-
-