Interface OfferResponseDetailsView
-
- All Superinterfaces:
LceView
,MvpLceView
,MvpView
- All Known Implementing Classes:
OfferResponseDetailsActivity
public interface OfferResponseDetailsView extends LceView
MvpView
class ofOfferResponseDetailsActivity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
hideFavoriteProgressDialog()
Hide current favorite progress dialogvoid
setActivityResult(int resultCode)
Set theActivity.setResult(int)
void
showDialogError(java.lang.String error)
Show a dialog error messagevoid
showFavoriteProgressDialog(boolean isFavorite)
Displays the loading and updates the visibility of the favoritevoid
showGeneratedBarcode(android.graphics.Bitmap barcodeImage)
Show the generated barcodevoid
showLoading(boolean isVisible)
Displays the loading and updates the visibility of the clip buttonvoid
showOfferNotAvailableMessage()
Show a message that theOffer
is not availablevoid
showOfferResponseDetail(OfferResponse offerResponse)
Show the offer response detail UIvoid
updateClipButton()
Update the state of the clip button in the viewvoid
updateFavoriteButton(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
- theOfferResponse
to be shown
-
showOfferNotAvailableMessage
void showOfferNotAvailableMessage()
Show a message that theOffer
is not available
-
updateFavoriteButton
void updateFavoriteButton(boolean shouldBeClipped)
Update the state of clip icon and clip button- Parameters:
shouldBeClipped
-true
if theOffer
was 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
-true
if the loading is visible
-
showFavoriteProgressDialog
void showFavoriteProgressDialog(boolean isFavorite)
Displays the loading and updates the visibility of the favorite- Parameters:
isFavorite
-true
if 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
-
-