Detectar retroceso en TextWatcher [duplicado]
Esta pregunta ya tiene una respuesta aquí:
Evento clave para Android EditText delete (retroceso) 15 respuestasestoy usandoTextWatcher
y soy incapaz de detectarRetroceso teclearTextWatcher.afterTextChange
evento. Yo tambien quiero aclarartextView
en alguna condición entextWatcher
evento.
public void afterTextChanged(Editable s) {
// TODO Auto-generated method stub
// I want to detect backspace key here
}