When an object of a type is attached to an Editable, its methods will be called when the text is changed. 接口TextWatcher定义了三个抽象方法: public void beforeTextChanged(CharSequence s, int start, int count, int after) This method is called to notify you that,