如果在textWatcher中更新,notifyChange,会劫持输入法焦点,使得部分输入无法生效。自定义布局组件建议还是不要使用databinding
afterTextChanged,beforeTextChanged,onTextChanged均如此。还是老实用回id吧。
如果在textWatcher中更新,notifyChange,会劫持输入法焦点,使得部分输入无法生效。自定义布局组件建议还是不要使用databinding
afterTextChanged,beforeTextChanged,onTextChanged均如此。还是老实用回id吧。