Interface CodeScannerView

    • Method Detail

      • onCodeScannedSuccessfully

        void onCodeScannedSuccessfully​(BaseModel<CodeData> model)
        This notifies the view when call to the code scan API is successful
        Parameters:
        model - contains the data and the message returned by the server
      • onCodeScannedFailure

        void onCodeScannedFailure​(java.lang.String error)
        This notifies the view when call to the code scan API failed
        Parameters:
        error - error message
      • showProgressDialog

        void showProgressDialog​(boolean show,
                                boolean isVerifying)
        Show/Hide progress dialog
        Parameters:
        show - true to show, else false
        isVerifying - check if progress is for verifying, else it is for simple loading
      • broadcastUpdate

        void broadcastUpdate()
        Send a broadcast for changes done
      • updateDelayedSummary

        void updateDelayedSummary()
        Update summary with delay