Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

ImeKeyListener

interface ImeKeyListener
androidx.leanback.widget.ImeKeyMonitor.ImeKeyListener

Listener interface for key events intercepted pre-IME by edit text objects.

Summary

Public methods
abstract Boolean
onKeyPreIme(editText: EditText!, keyCode: Int, event: KeyEvent!)

Callback invoked from EditText's onKeyPreIme method override.

Public methods

onKeyPreIme

abstract fun onKeyPreIme(
    editText: EditText!,
    keyCode: Int,
    event: KeyEvent!
): Boolean

Callback invoked from EditText's onKeyPreIme method override. Returning true tells the caller that the key event is handled and should not be propagated.