组件绑定事件的几种方法 链接:https://blog.csdn.net/qq_36772866/article/details/89155592 1,直接绑组件上 2,findViewById查找组件,添加监听事件