code: public static void appendText(TextView view, String toAppend) {
          String currentText = getText(view);
          view.setText(currentText + toAppend);
      }
docs: Append given text String to the provided view (one of TextView or EditText).
  
  @param view     View to update.
  @param toAppend String text.