I am using TextWatcher
and I am unable to detect Backspace key in TextWatcher.afterTextChange
event. I also want to clear textView
on some condition in textWatcher
event.
public void afterTextChanged(Editable s) {
// TODO Auto-generated method stub
// I want to detect backspace key here
}