Introduction - If you have any usage issues, please Google them yourself
Android development, four written commonly Click event: 1, create an inner class defined in the click event in the Activity 2, using anonymous inner class defines a click event 3, Activity realize his OnClickListener interface, onClick method 4 when creating Button view in xml file, as it adds Onclick parameters