Android Studio EditText Teks Perubahan Teks Pendengar

field1 = (EditText)findViewById(R.id.field1);
field1.addTextChangedListener(new TextWatcher() {
   public void afterTextChanged(Editable s) {}
   public void beforeTextChanged(CharSequence s, int start, int count, int after) {
   }
   public void onTextChanged(CharSequence s, int start, int before, int count) {
      //Do stuff
   }
  });
Concerned Centipede