In Android, I am writing an app where the user enters text into an EditText
view, and I would like to intercept that text before the system actually inserts it into the view, so that I can first wrap it in a SpannableText
and do some decoration.
Is there any way to do this, or do I need to wait until the text is inserted, and then replace it in the afterTextChanged
method (which seems like a waste of processing!)
Any ideas?