Event-driven programming has been around for nearly a quarter-century
Much of Android’s UI model is event-driven,
where we find out about these events via callbacks (e.g., onCreate() for the “start an activity” event)
and registered listeners
(e.g., OnClickListener for when the user taps on a widget).