You should be able to achieve the same effect by capturing all text except the last 4 characters, and then adding new text.
String textViewText = textViewObject.getText().toString();
textViewObject.setText(textViewText.substring(0, textViewText.getLength() - 4) +
" new text that I am adding");
source
share