``` val listener: TextChangedListener.() -> Uni...
# getting-started
s
Copy code
val listener: TextChangedListener.() -> Unit = {
  afterTextChanged {
    validateInput()
  }
}
maybe something like that? I don’t android so the class probably isn’t right, but it shouldn’t be too far off the mark