onKey

abstract fun onKey(editText: View?, primaryCode: Int)

点击触发按键时,触发此回调方法

Parameters

primaryCode

为原始code值,即Key的code