Interface OfferResponseDetailsView
-
- All Superinterfaces:
LceView,MvpLceView,MvpView
- All Known Implementing Classes:
OfferResponseDetailsActivity
public interface OfferResponseDetailsView extends LceView
MvpViewclass ofOfferResponseDetailsActivity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhideFavoriteProgressDialog()Hide current favorite progress dialogvoidsetActivityResult(int resultCode)Set theActivity.setResult(int)voidshowDialogError(java.lang.String error)Show a dialog error messagevoidshowFavoriteProgressDialog(boolean isFavorite)Displays the loading and updates the visibility of the favoritevoidshowGeneratedBarcode(android.graphics.Bitmap barcodeImage)Show the generated barcodevoidshowLoading(boolean isVisible)Displays the loading and updates the visibility of the clip buttonvoidshowOfferNotAvailableMessage()Show a message that theOfferis not availablevoidshowOfferResponseDetail(OfferResponse offerResponse)Show the offer response detail UIvoidupdateClipButton()Update the state of the clip button in the viewvoidupdateFavoriteButton(boolean shouldBeClipped)Update the state of clip icon and clip button-
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
-
showOfferResponseDetail
void showOfferResponseDetail(OfferResponse offerResponse)
Show the offer response detail UI- Parameters:
offerResponse- theOfferResponseto be shown
-
showOfferNotAvailableMessage
void showOfferNotAvailableMessage()
Show a message that theOfferis not available
-
updateFavoriteButton
void updateFavoriteButton(boolean shouldBeClipped)
Update the state of clip icon and clip button- Parameters:
shouldBeClipped-trueif theOfferwas favorited
-
showDialogError
void showDialogError(java.lang.String error)
Show a dialog error message- Parameters:
error- the error message
-
showGeneratedBarcode
void showGeneratedBarcode(android.graphics.Bitmap barcodeImage)
Show the generated barcode- Parameters:
barcodeImage- the generated barcode
-
showLoading
void showLoading(boolean isVisible)
Displays the loading and updates the visibility of the clip button- Parameters:
isVisible-trueif the loading is visible
-
showFavoriteProgressDialog
void showFavoriteProgressDialog(boolean isFavorite)
Displays the loading and updates the visibility of the favorite- Parameters:
isFavorite-trueif favorite state
-
hideFavoriteProgressDialog
void hideFavoriteProgressDialog()
Hide current favorite progress dialog
-
setActivityResult
void setActivityResult(int resultCode)
Set theActivity.setResult(int)- Parameters:
resultCode- the result code
-
updateClipButton
void updateClipButton()
Update the state of the clip button in the view
-
-