Interface RedemptionDetailsView
-
- All Superinterfaces:
LceView,MvpLceView,MvpView
- All Known Implementing Classes:
RedemptionDetailsActivity
public interface RedemptionDetailsView extends LceView
MvpViewclass ofRedemptionDetailsView
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelRedemptionFailed(java.lang.String error)This will be called by the presenter if it fails to cancel a redemption.voidcancelRedemptionSucceeded()This will be called by the presenter after successfully cancelling a redemption.voiddismissProgressDialog()Dismiss the progress dialog of the viewvoidshowProgressDialog()This will be called by the presenter when it starts to redeem a rewardvoidshowRedemptionDetails(Redemption redemption)This will be called by the presenter after successfully receiving the redemption details from the SDK.voidshowRedemptionNotAvailable(java.lang.String error)This will be called by the presenter if it fails to receive the redemption details from the SDK.-
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
-
showRedemptionDetails
void showRedemptionDetails(Redemption redemption)
This will be called by the presenter after successfully receiving the redemption details from the SDK.- Parameters:
redemption- The redemption returned by the SDK.
-
showRedemptionNotAvailable
void showRedemptionNotAvailable(java.lang.String error)
This will be called by the presenter if it fails to receive the redemption details from the SDK.- Parameters:
error- The error received from the SDK.
-
cancelRedemptionSucceeded
void cancelRedemptionSucceeded()
This will be called by the presenter after successfully cancelling a redemption.
-
cancelRedemptionFailed
void cancelRedemptionFailed(java.lang.String error)
This will be called by the presenter if it fails to cancel a redemption.- Parameters:
error- The error received from the SDK.
-
showProgressDialog
void showProgressDialog()
This will be called by the presenter when it starts to redeem a reward
-
dismissProgressDialog
void dismissProgressDialog()
Dismiss the progress dialog of the view
-
-