Interface MultiQuestionView
-
- All Superinterfaces:
ChallengeResponseView
,MvpView
- All Known Implementing Classes:
MultiQuestionFragment
public interface MultiQuestionView extends ChallengeResponseView
This view must be implemented to notify the Activity or Fragment of the API call returns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
showControls(int pageCount)
Notifies the view to show view pager controlsvoid
showQuestions(java.util.List<Definition> definitions)
Notifies the view to show the questionsvoid
showSubmit(boolean show)
Notifies the view to show the submit button-
Methods inherited from interface com.cheetahdigital.challenges.ui.responses.base.ChallengeResponseView
onChallengeRespondSuccess, showErrorMessage, showLoading, showReward
-
-
-
-
Method Detail
-
showQuestions
void showQuestions(java.util.List<Definition> definitions)
Notifies the view to show the questions- Parameters:
definitions
- list of questions
-
showControls
void showControls(int pageCount)
Notifies the view to show view pager controls- Parameters:
pageCount
- number of questions
-
showSubmit
void showSubmit(boolean show)
Notifies the view to show the submit button- Parameters:
show
- true to display, false otherwise
-
-