/** after execution */ @Override protected void onPostExecute(Void result) { requestActionInterface.loadingAction(false); if (errorMessage != null) { requestActionInterface.displayErrorMessage(errorMessage); } else { requestActionInterface.successAction(successDTO); } }
@Override protected void onPreExecute() { requestActionInterface.loadingAction(true); }