Skip to content

Instantly share code, notes, and snippets.

@igorwojda
Created August 31, 2018 13:59
Show Gist options
  • Save igorwojda/ab48d6ac7d96246270f17c5b48b36ac0 to your computer and use it in GitHub Desktop.
Save igorwojda/ab48d6ac7d96246270f17c5b48b36ac0 to your computer and use it in GitHub Desktop.
val view = View()
view.setBeforeTextChangedListener ({ /* do something */ })
//...
// later in code we can set another listener
view.setAfterTextChangedListener ({ /* do something */ })
//no need to set 3rd listener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment