0
I am using this method to delete the last character typed in a TextView
:
texto = txtTexto.getText().toString();
int length = texto.length();
txtTexto.setText(texto.substring(0, length - 1));
But when deleting a character, like a dot "."
, I want you to do something.
"But when deleting a character, like a dot "." I want it to perform something." It wants to call a function by deleting the last character from the
textview
.– itscorey