SearchEditText

open class SearchEditText : StreamingTextView
androidx.leanback.widget.SearchEditText

EditText widget that monitors keyboard changes.

Summary

Nested classes
abstract

Interface for receiving notification when the keyboard is dismissed.

Public constructors
<init>(context: Context!)

<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!, attrs: AttributeSet!, defStyle: Int)

Public methods
open Unit

Sets a keyboard dismissed listener.

open Boolean
onKeyPreIme(keyCode: Int, event: KeyEvent!)

Public constructors

<init>

SearchEditText(context: Context!)

<init>

SearchEditText(context: Context!, attrs: AttributeSet!)

<init>

SearchEditText(context: Context!, attrs: AttributeSet!, defStyle: Int)

Public methods

setOnKeyboardDismissListener

open fun setOnKeyboardDismissListener(listener: SearchEditText.OnKeyboardDismissListener!): Unit

Sets a keyboard dismissed listener.

Parameters
listener SearchEditText.OnKeyboardDismissListener!: The listener.

onKeyPreIme

open fun onKeyPreIme(keyCode: Int, event: KeyEvent!): Boolean