Interface AlertChallengeView
-
- All Superinterfaces:
MvpView
- All Known Implementing Classes:
AlertChallengeFragment
public interface AlertChallengeView extends MvpView
MvpView
class 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 void
displayAlertChallenge(Challenge challenge)
Method called to display the alert challengevoid
onAlertChallengeFailed(java.lang.String error)
Method called when an error occurred while retrieving the alert challengevoid
onAlertChallengeSuccess()
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
-
-