Created
September 1, 2016 05:22
-
-
Save noaht11/1da30206797cad49bdad2038e82fcb37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void afterTextChanged(Editable message) { | |
if(mIgnoreTextChangedEvents) { | |
return; | |
} | |
// Avoid triggering text changed events from changes we make in this method | |
mIgnoreTextChangedEvents = true; | |
// Perform text changes | |
// Pass event to ChipTerminatorHandler which may make programmatic changes to the text | |
mIgnoreTextChangedEvents = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment