Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道用户何时按下软键盘上的“输入/完成/下一步”键,而活动不知道用户所在的编辑文本框。我看过一些代码,但它总是使用编辑文本框的名称正在编辑。
该应用程序有许多编辑文本框,只要编辑文本框中的任何一个值发生更改,就会重新运行计算。
然后附加OnEditorActionListener到所有这些。
OnEditorActionListener