android - The interworking of TextView -
edittext
extends textview
, set editable i've been reading source code of android.widget.textview trying figure out how edittext
works.
i cant figure out how editing mechanism works, string saved in mtext
, when users clicks somewhere on view knows in string (cursor position) , inserts/removes text @ position. can't seem find part of code handles that, insertion @ specific position. link between text on display , mtext. if know how works appreciate explanation.
Comments
Post a Comment