Sto usando TextWatcher
e non sono in grado di rilevare tasto di backspace nell'evento TextWatcher.afterTextChange
. Voglio anche cancellare textView
in alcune condizioni nell'evento textWatcher
.Rileva backspace in TextWatcher
public void afterTextChanged(Editable s) {
// TODO Auto-generated method stub
// I want to detect backspace key here
}
Codice per il tuo 'TextWatcher' per favore? – Swayam
public void afterTextChanged (modificabile s) { \t \t \t \t \t \t \t // TODO metodo generato automaticamente stub \t \t \t \t \t \t \t // Voglio rilevare tasto backspace qui \t \t \t \t \t \t \t \t \t \t \t \t} –