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