Class AlertChallengePresenter<V extends AlertChallengeView>

  • Type Parameters:
    V - the MvpView class
    All Implemented Interfaces:
    com.cheetahdigital.uikit.architecture.mvp.MvpPresenter<V>

    public class AlertChallengePresenter<V extends AlertChallengeView>
    extends com.cheetahdigital.uikit.architecture.mvp.MvpNullObjectBasePresenter<V>
    The MvpPresenter class for AlertChallengeFragment. Note that the fragment has no UI and this class is for the API calls needed from the fragment.
    • Constructor Detail

      • AlertChallengePresenter

        public AlertChallengePresenter()
        Default constructor using the default ChallengeParams
      • AlertChallengePresenter

        public AlertChallengePresenter​(@Nullable
                                       ChallengeParams challengeParams)
        Constructor with a custom ChallengeParams
        Parameters:
        challengeParams - contains the query parameters
    • Method Detail

      • getAlertChallengesAPI

        public void getAlertChallengesAPI()
        Calls the Challenge api to retrieve the alert challenges