我正在阅读O'Reilly的“Android编程”一书,我正在努力研究从第99页开始的“覆盖和回调”部分。他们将此作为优秀代码的示例:publicclassMyModel{publicMyModel(TextViewtextBox){textBox.addTextChangedListener(newTextWatcher(){publicvoidafterTextChanged(Editables){handleTextChange(s);}//...}voidhandleTextChange(Editables){//dosomethingwiths,thechangedtext.