code: protected void showLightError(String msg) {
      if (getActivity() != null) {
        Toast.makeText(getActivity(), msg, Toast.LENGTH_SHORT).show();
      }
    }
docs: The default behaviour is to display a toast message as light error (i.e. pull-to-refresh
  error).
  Override this method if you want to display the light error in another way (like crouton).