Interface AlertChallengeView

  • All Superinterfaces:
    com.cheetahdigital.uikit.architecture.mvp.MvpView
    All Known Implementing Classes:
    AlertChallengeFragment

    public interface AlertChallengeView
    extends com.cheetahdigital.uikit.architecture.mvp.MvpView
    MvpView class of AlertChallengeFragment. Note that the fragment has no UI and this interface serves as a callback from the presenter.
    • 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