Reputation: 53600
I have a EditText and I want to inform each time text changes (with entering each character). What implementation should I use and what function should I override?
Upvotes: 5
Views: 16125
Reputation: 1736
Use the addTextChangedListener
method on your EditText and make your class implement or define an inner class implementing the TextWatcher
class:
Upvotes: 15
Reputation: 3926
You can declare a boolean variable as false and at each time et.edited make it true
Upvotes: 0