TextWatcher1 Android] Textview TextWatcher 자동 콤마 https://onlyfor-me-blog.tistory.com/435 [Android] TextWatcher란? 앱을 만들다 보면 editText에 입력한 값을 실시간으로 관찰하면서 입력값에 따른 처리를 해야 할 때가 있다. 그 때 가볍게 써먹을 수 있는 편리한 TextWatcher란 인터페이스가 있다. 이름부터 뭘 하는 onlyfor-me-blog.tistory.com editText.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { Log.e(TAG, "beforeTextChanged() - charSequen.. 2023. 6. 20. 이전 1 다음