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 void
allowReenter(boolean allowReenter, ChallengeResponse response)
Notify the view to enable the ctavoid
showChallengeDetail(Challenge challenge)
Notify the view to show challenge detailvoid
showComments(java.util.List<Comment> comments)
Notify the view to show response commentsvoid
showErrorMessage(java.lang.String error)
Notifies the view when GET challenge response API failedvoid
showResponseStatus(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
-Challenge
model
-
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
-ChallengeResponse
object
-
showErrorMessage
void showErrorMessage(java.lang.String error)
Notifies the view when GET challenge response API failed- Parameters:
error
- error message
-
-