Example #1
0
  /** after execution */
  @Override
  protected void onPostExecute(Void result) {

    requestActionInterface.loadingAction(false);

    if (errorMessage != null) {

      requestActionInterface.displayErrorMessage(errorMessage);

    } else {
      requestActionInterface.successAction(successDTO);
    }
  }
Example #2
0
 @Override
 protected void onPreExecute() {
   requestActionInterface.loadingAction(true);
 }