Get Editable id in afterTextChanged event

后端 未结 3 1031
孤街浪徒
孤街浪徒 2020-12-11 18:00

I have an Activity that extends TextWatcher to detect changes in certain EditTexts, so it implements:

public void afterTextChanged(Editable s)
3条回答
  •  情歌与酒
    2020-12-11 18:27

    see TextWatcher for more than one EditText basically create your own class to handle the listener with a constructor that defines the edittext you are monitoring and pass the edittext you are assigning.

提交回复
热议问题