📜  如何创建自定义文本观察器 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:14.488000             🧑  作者: Mango

代码示例1
private class GenericTextWatcher implements TextWatcher{


    public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {}
    public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {}

    public void afterTextChanged(Editable editable) {
       
    }
}