Interface GiftcardAutoReloadView
-
- All Superinterfaces:
LceView
,MvpLceView
,MvpView
- All Known Implementing Classes:
GiftcardAutoReloadActivity
public interface GiftcardAutoReloadView extends LceView
View to be implemented forGiftcardAutoReloadActivity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
refreshData()
This notifies the view to refresh the UI.void
showAutoReloadDetails(Giftcard giftcard)
This notifies the view to show the details ofGiftcard
.void
showAutoReloadSuccessMessage()
This notifies the view to show a message informing the user that updating of auto reload configuration was successful.void
showErrorDialog(java.lang.String error)
This notifies the view to show a dialog with error message.void
showProgressDialog(boolean showProgress)
This notifies the view to show or hide the progress dialog.-
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
-
-
-
-
Method Detail
-
showAutoReloadDetails
void showAutoReloadDetails(Giftcard giftcard)
This notifies the view to show the details ofGiftcard
.- Parameters:
giftcard
-Giftcard
-
showErrorDialog
void showErrorDialog(java.lang.String error)
This notifies the view to show a dialog with error message. Called when an API call failed.- Parameters:
error
- error message
-
refreshData
void refreshData()
This notifies the view to refresh the UI.
-
showProgressDialog
void showProgressDialog(boolean showProgress)
This notifies the view to show or hide the progress dialog.- Parameters:
showProgress
- true - to show dialog, false - to hide dialog
-
showAutoReloadSuccessMessage
void showAutoReloadSuccessMessage()
This notifies the view to show a message informing the user that updating of auto reload configuration was successful.
-
-