所有这些方法和常量应该会使得对按钮事件做出响应更加容易。
All these methods and constants should make responding to button events easier.
他们按下了按钮,得到了响应,也被弹了个脑嘣。
在您构建该视图时,您为按钮添加了一个选择侦听器,以便应用程序能够对按钮单击作出响应。
As you're building the view, you add a selection listener to the button so that your application can respond to button clicks.
应用推荐