-1
edittextの内容が変更されているときに、どのように編集テキスト値を取得してテキストビューに保存しますか? EditTextのedittextの内容が変更されている間に、どのようにedittext値を取得してテキストビューに保存しますか?
edittextの内容が変更されているときに、どのように編集テキスト値を取得してテキストビューに保存しますか? EditTextのedittextの内容が変更されている間に、どのようにedittext値を取得してテキストビューに保存しますか?
NumofRevs_et.addTextChangedListener(new TextWatcher() {
public void afterTextChanged(Editable s) {}
public void beforeTextChanged(CharSequence s, int start, int count,int after) {
//XXX do something
}
public void onTextChanged(CharSequence s, int start, int before, int count)
{
title_text.setText(s); // set the Text View Value using the edit text value
}
});
setTextWatcher .....その後、あなたの必要性
あたりとしてonTextChange、beforeTextChange、afterTextChangeを上書きあなたは試したことがありますか? – trgraglia