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