Interface SubmitReceiptView
-
- All Superinterfaces:
com.cheetahdigital.uikit.architecture.mvp.MvpView
- All Known Implementing Classes:
SubmitReceiptFragment
public interface SubmitReceiptView extends com.cheetahdigital.uikit.architecture.mvp.MvpView
ExtendsMvpView
This interface notifies the activity of the results of the API once it (View) is called by the Presenter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
showError(java.lang.String error)
This notifies the view when the API call returns an errorvoid
showReceiptSuccessfulDialog(Receipt receipt)
This notifies the view when the submission of the receipt to the API returns a successful response
-
-
-
Method Detail
-
showReceiptSuccessfulDialog
void showReceiptSuccessfulDialog(Receipt receipt)
This notifies the view when the submission of the receipt to the API returns a successful response- Parameters:
receipt
-Receipt
object
-
showError
void showError(java.lang.String error)
This notifies the view when the API call returns an error- Parameters:
error
- String error message
-
-