0

Is it possible to override sendAfterTextChanged(Editable text) in TextView? I need to skip it in certain situations because it has really long execution time in my app.

benderto
  • 783
  • 9
  • 34

1 Answers1

0

Is it possible to override sendAfterTextChanged(Editable text) in TextView?

Short answer: No. This method is package private. You can't override it from your (different) package.

Long answer: There exists a bug in Dalvik which apparently allowed this but was fixed in ART (see this answer).

Community
  • 1
  • 1
cygery
  • 2,291
  • 3
  • 17
  • 25