ImeKeyMonitor.ImeKeyListener


interface ImeKeyMonitor.ImeKeyListener


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

Summary

Public functions

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

Callback invoked from EditText's onKeyPreIme method override.

Public functions

onKeyPreIme

Added in 1.1.0
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.