I\'m adding a listener to an EditText field to appropriately format the number to currency in real time.
loanText.addTextChangedListener(new TextWatc
The problem is that your TextWatcher sees that you are "clearing" the text, and therefore sends off a request to its callback methods(afterTextChanged, beforeTextChanged, etc).
What i've done is to simply remove the TextWatcher, clear the text, and add the TextWatcherback to the EditText. That way, nothing is listening to my EditText changes.
You will probably have to hold on to an instance of the TextWatcher instead of inlining it like you did. That way you don't have to create one every time you want to clear the EditText
loanText.removeTextChangedListener(yourTextWatcherObject);loanText.setText("");loanText.addTextChangedListener(yourTextWatcherObject);