Fires for the text a key press produces, one call per character - the signal a free text
field listens to. onAction carries named intent and onKey carries the physical key;
neither carries event.key, so neither can type a name or a save-slot label. A listener
returning true stops the text reaching anything else, the same convention the other input
signals use, so a focused field can swallow it.
Fires for the text a key press produces, one call per character - the signal a free text field listens to.
onActioncarries named intent andonKeycarries the physical key; neither carriesevent.key, so neither can type a name or a save-slot label. A listener returning true stops the text reaching anything else, the same convention the other input signals use, so a focused field can swallow it.