我希望在将文本EditText保存到数据库后将其清除.
这是我的代码:
pictureDescription.addTextChangedListener(new TextWatcher()
{
public void afterTextChanged(Editable textValue)
{
String content = textValue.toString();
db.updatePicDes(content,lastSnapId);
}
}
Run Code Online (Sandbox Code Playgroud)