Interface AlertChallengeView
-
- All Superinterfaces:
com.cheetahdigital.uikit.architecture.mvp.MvpView
- All Known Implementing Classes:
AlertChallengeFragment
public interface AlertChallengeView extends com.cheetahdigital.uikit.architecture.mvp.MvpViewMvpViewclass ofAlertChallengeFragment. Note that the fragment has no UI and this interface serves as a callback from the presenter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisplayAlertChallenge(Challenge challenge)Method called to display the alert challengevoidonAlertChallengeFailed(java.lang.String error)Method called when an error occurred while retrieving the alert challengevoidonAlertChallengeSuccess()Method called after all alert challenges are completed or no alert challenge is available
-
-
-
Method Detail
-
displayAlertChallenge
void displayAlertChallenge(Challenge challenge)
Method called to display the alert challenge- Parameters:
challenge- the challenge to be shown
-
onAlertChallengeSuccess
void onAlertChallengeSuccess()
Method called after all alert challenges are completed or no alert challenge is available
-
onAlertChallengeFailed
void onAlertChallengeFailed(java.lang.String error)
Method called when an error occurred while retrieving the alert challenge- Parameters:
error- the error message
-
-