Package-level declarations
Functions
Link copied to clipboard
inline fun TextView.addTextChangedListener(crossinline beforeTextChanged: (text: CharSequence?, start: Int, count: Int, after: Int) -> Unit = { _, _, _, _ ->
}, crossinline onTextChanged: (text: CharSequence?, start: Int, before: Int, count: Int) -> Unit = { _, _, _, _ ->
}, crossinline afterTextChanged: (text: Editable?) -> Unit = {}): TextWatcher
Add a text changed listener to this TextView using the provided actions
Link copied to clipboard
Add an action which will be invoked after the text changed.
Link copied to clipboard
inline fun TextView.doBeforeTextChanged(crossinline action: (text: CharSequence?, start: Int, count: Int, after: Int) -> Unit): TextWatcher
Add an action which will be invoked before the text changed.
Link copied to clipboard
inline fun TextView.doOnTextChanged(crossinline action: (text: CharSequence?, start: Int, before: Int, count: Int) -> Unit): TextWatcher
Add an action which will be invoked when the text is changing.