public void addTextChangedListener (TextWatcher watcher)
绑定一个监听对象watcher,用以监听text变化
public void setOnEditorActionListener(TextView.OnEditorActionListener l)
绑定一个监听对象l,用以监听输入法软键盘上的按键
绑定一个监听对象watcher,用以监听text变化
public void setOnEditorActionListener(TextView.OnEditorActionListener l)
绑定一个监听对象l,用以监听输入法软键盘上的按键
本文介绍如何使用addTextChangedListener和setOnEditorActionListener方法来监听文本框中文字的变化及输入法操作。
1747

被折叠的 条评论
为什么被折叠?



