Android EditText怎么修改内容、?
[mw_shl_code=java,true]cloudtalk_text.addTextChangedListener(newTextWatcher(){@Overri...
[mw_shl_code=java,true]cloudtalk_text.addTextChangedListener(new TextWatcher() { @Override public void onTextChanged(CharSequence s, int start, int before, int count) { // TODO Auto-generated method stub } @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { // TODO Auto-generated method stub cloudtalk_text.setText("此处会导致死循环"); } @Override public void afterTextChanged(Editable s) { // TODO Auto-generated method stub cloudtalk_text.setText("此处会导致死循环"); } });[/mw_shl_code]如题,如代码,有特殊的字符串就要处理换成别的字符串,怎么做?直接setText会造成死循环
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询