Interface ReferralView

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

    public interface ReferralView
    extends com.cheetahdigital.uikit.architecture.lce.LceView
    View to be implemented for ReferralCodeFragment
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void displayReferralCode​(java.lang.String code)
      This will be called by the presenter after a successful call to the API
      void displayReferralCode​(java.lang.String baseURL, java.lang.String code, java.lang.String jsonExtra)  
      void shareReferralCode()
      This will be called by the presenter after a successful call to the API.
      • 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

      • displayReferralCode

        void displayReferralCode​(java.lang.String code)
        This will be called by the presenter after a successful call to the API
        Parameters:
        code - the referral code
      • shareReferralCode

        void shareReferralCode()
        This will be called by the presenter after a successful call to the API.
      • displayReferralCode

        void displayReferralCode​(java.lang.String baseURL,
                                 java.lang.String code,
                                 java.lang.String jsonExtra)
        Parameters:
        baseURL - the referral base link
        code - the referral code
        jsonExtra - content token extras