Interface ViewContentView
-
- All Superinterfaces:
ChallengeResponseView,com.cheetahdigital.uikit.architecture.mvp.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 voidconfirmExit()Notifies the view to confirm exitvoidloadContent(java.lang.String url)Notifies the view to load the contentvoidshowTakeQuizDialog(boolean isExit)Notifies the view to ask member to take the quizvoidstartQuiz()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
-
-