Interface SubmitReferralCodeView

  • All Superinterfaces:
    com.cheetahdigital.uikit.architecture.lce.LceView, com.cheetahdigital.uikit.architecture.lce.MvpLceView, com.cheetahdigital.uikit.architecture.mvp.MvpView
    All Known Implementing Classes:
    SubmitReferralCodeFragment

    public interface SubmitReferralCodeView
    extends com.cheetahdigital.uikit.architecture.lce.LceView
    The View class for SubmitReferralCodeFragment which contains the callbacks for submit referral API
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onSubmissionRejected()
      Callback after a rejected referral code submission
      void showReferralDialog()
      Callback after a successful referral code submission.
      void showReferralErrorDialog​(java.lang.String error)
      Callback after a failed referral code submission
      • 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

      • showReferralDialog

        void showReferralDialog()
        Callback after a successful referral code submission.
      • showReferralErrorDialog

        void showReferralErrorDialog​(java.lang.String error)
        Callback after a failed referral code submission
        Parameters:
        error - Error text
      • onSubmissionRejected

        void onSubmissionRejected()
        Callback after a rejected referral code submission