Interface PreferencesView
-
- All Superinterfaces:
LceView,ListView,MvpLceView,MvpView,RefreshableView
- All Known Implementing Classes:
PreferencesFragment
public interface PreferencesView extends ListView
Extends theListViewThis notifies the activity or fragment of the results of the API once the view is called by the Presenter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidshowPreferenceList(java.util.List<Preference> preferences)This notifies the view when the API for getting the list of preferences returns a successful responsevoidshowPreferenceListNotAvailable(java.lang.String error)This notifies the view when the API for getting the list of preferences returns an errorvoidupdatePreferenceList()This notifies the view when the API for updating the list of preference is a success-
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
-
showPreferenceList
void showPreferenceList(java.util.List<Preference> preferences)
This notifies the view when the API for getting the list of preferences returns a successful response- Parameters:
preferences- list of preferences
-
showPreferenceListNotAvailable
void showPreferenceListNotAvailable(java.lang.String error)
This notifies the view when the API for getting the list of preferences returns an error- Parameters:
error- error message
-
updatePreferenceList
void updatePreferenceList()
This notifies the view when the API for updating the list of preference is a success
-
-