Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经编辑文本字段并为它们设置了文本,但是当我设置另一个文本时,过去的文本丢失了。如何继续输入文字?
final String originalTextFromEditTextView = editTextView.getText().toString(); editTextView.setText(originalTextFromEditTextView + yourText);