[안드로이드 메모] addTextChangedListener
edittext.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(Editable editable) { //텍스트가 바뀌고 난 후 String dataString = edittext.getText().toString(); int d = dataString.getBytes().length..
프로그래밍/안드로이드
2018. 8. 13. 00:14