I am trying to get the number of characters in an EditText. I studied the different properties of the EditText and TextView classes, but there seems to be no function that returns the number of characters. I tried to use TextWatcher, but this is not ideal, because sometimes I load the saved message into EditText from the settings, and TextWatcher does not take into account characters that were not entered directly.
Any help would be great!
Hooray!
java android android-edittext
strange quark
source share