Input controls are your UI's interactive components, such as buttons,
EditText fields, and checkboxes.
We've already seen how you can drop input controls into your UI, but input controls don't register user input out of the box.
To turn UI components, such as buttons and
EditText fields, into fully-functioning interactive components, you'll need to write some extra code.
Click events are one of the most common input events your UI will have to handle. A click event is simply where the user touches an onscreen element, such as tapping a button or a checkbox.
A button cannot process clicks on its own; you'll need to create a listener and then assign it to the button. When the user taps the button, the ...