
1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
xxxTitle.addTextChangedListener(new TextWatcher() { //エディットテキストで編集を始めた時に呼ばれる。操作前のエディットテキストの状態を取得できる @Override public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { } //一文字入力するたびに呼ばれる。操作中のエディットテキストの状態を取得できる。 @Override public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) { } //入力フィールドから離れた時に呼ばれる。操作後のエディットテキストの状態を取得できる。 @Override public void afterTextChanged(final Editable editable) { } }); |
1