onTextChanged

fun EditText.onTextChanged(doWhenChange: (text: String) -> Unit)

Function to define listener when text changed on EditText

Receiver

EditText

Parameters

doWhenChange

action to do when the text changed