Interface ChallengeResponseDetailsView
-
- All Superinterfaces:
LceView,MvpLceView,MvpView
- All Known Implementing Classes:
ChallengeResponseDetailsActivity
public interface ChallengeResponseDetailsView extends LceView
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 voidallowReenter(boolean allowReenter, ChallengeResponse response)Notify the view to enable the ctavoidshowChallengeDetail(Challenge challenge)Notify the view to show challenge detailvoidshowComments(java.util.List<Comment> comments)Notify the view to show response commentsvoidshowErrorMessage(java.lang.String error)Notifies the view when GET challenge response API failedvoidshowResponseStatus(java.lang.String message, java.lang.String status)Notify the view to show response status-
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
-
showChallengeDetail
void showChallengeDetail(Challenge challenge)
Notify the view to show challenge detail- Parameters:
challenge-Challengemodel
-
showResponseStatus
void showResponseStatus(java.lang.String message, java.lang.String status)Notify the view to show response status- Parameters:
message- response messagestatus- response status
-
showComments
void showComments(java.util.List<Comment> comments)
Notify the view to show response comments- Parameters:
comments- list of response comments
-
allowReenter
void allowReenter(boolean allowReenter, ChallengeResponse response)Notify the view to enable the cta- Parameters:
allowReenter- allow reenterresponse-ChallengeResponseobject
-
showErrorMessage
void showErrorMessage(java.lang.String error)
Notifies the view when GET challenge response API failed- Parameters:
error- error message
-
-