Interface ViewContentView
-
- All Superinterfaces:
ChallengeResponseView
,MvpView
- All Known Implementing Classes:
ViewContentBaseFragment
,ViewPhotoFragment
,ViewUrlFragment
,ViewYoutubeFragment
public interface ViewContentView 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
confirmExit()
Notifies the view to confirm exitvoid
loadContent(java.lang.String url)
Notifies the view to load the contentvoid
showTakeQuizDialog(boolean isExit)
Notifies the view to ask member to take the quizvoid
startQuiz()
Notifies the view to show the quiz-
Methods inherited from interface com.cheetahdigital.challenges.ui.responses.base.ChallengeResponseView
onChallengeRespondSuccess, showErrorMessage, showLoading, showReward
-
-
-
-
Method Detail
-
loadContent
void loadContent(java.lang.String url)
Notifies the view to load the content- Parameters:
url
- content url
-
startQuiz
void startQuiz()
Notifies the view to show the quiz
-
showTakeQuizDialog
void showTakeQuizDialog(boolean isExit)
Notifies the view to ask member to take the quiz- Parameters:
isExit
- true if the dialog is shown before exit
-
confirmExit
void confirmExit()
Notifies the view to confirm exit
-
-