Handling input events

In the cycle of a user's interaction with an application, a means by which the user can provide some form of input for the execution of a process is by interacting with a widget. These inputs can be captured with events. In Android applications, events are captured from the specific view object that the user interacts with. The required structures and procedures necessary for input event handling are provided by the View class.

Get Kotlin Programming By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.