Package com.cheetahdigital.feedback.ui
Interface FeedbackView
-
- All Superinterfaces:
LceView,MvpLceView,MvpView
- All Known Implementing Classes:
FeedbackFragment
public interface FeedbackView extends LceView
The view to be implemented forFeedbackFragment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidshowProgressDialog(boolean show)Show/Hide progress dialogvoidshowSubmitFailedDialog(java.lang.String message)Notifies the view when call to feedback API failedvoidshowSubmitSuccessDialog()Notifies the view when call to feedback API is successfulvoidupdateSpinnerCategories(java.util.HashMap<java.lang.String,Category> categoryList)Notifies the view when call to GET categories API is successful-
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
-
showSubmitSuccessDialog
void showSubmitSuccessDialog()
Notifies the view when call to feedback API is successful
-
showSubmitFailedDialog
void showSubmitFailedDialog(java.lang.String message)
Notifies the view when call to feedback API failed- Parameters:
message- error message
-
updateSpinnerCategories
void updateSpinnerCategories(java.util.HashMap<java.lang.String,Category> categoryList)
Notifies the view when call to GET categories API is successful- Parameters:
categoryList- category list
-
showProgressDialog
void showProgressDialog(boolean show)
Show/Hide progress dialog- Parameters:
show-trueto show, else false
-
-