How to use InputConnectionWrapper?
I have an EditText . Now I want to get all changes made by the user to this EditText and work with them before manually inserting them into the EditText . I don't want the user to directly change the text in the EditText . This should only be done by my code (e.g. by using replace() or setText() ). I searched a bit and found an interesting class named InputConnectionWrapper . According to the javadoc it shall act as a proxy for a given InputConnection . So I subclassed it like this: private class EditTextInputConnection extends InputConnectionWrapper { public EditTextInputConnection