2

i am using EditText. when i use setText(). TextWatcher Events are calling. i don't need to call it? can anyone help me?

        txt_qty.addTextChangedListener(new TextWatcher() {
            @Override
            public void beforeTextChanged(CharSequence s, int start, int count, int after) {

            }

            @Override
            public void onTextChanged(CharSequence s, int start, int before, int count) {

            }

            @Override
            public void afterTextChanged(Editable s) {
            }
        });

Thanks.

bhautikmewada191
  • 653
  • 1
  • 9
  • 20

0 Answers0