'equals()' between objects of inconvertible types 'int' and 'TextWatcher' error
<p>i have a strange error that i can't solve. The error is : 'equals()' between objects of inconvertible types 'int' and 'TextWatcher'. And this is my code:</p>

<pre><code>if( textWatcher_ans.equals(R.string.editText_7)){
    Toast.makeText(getApplication().getBaseContext(),
                   (R.string.Good),Toast.LENGTH_SHORT).show();
}

            private final TextWatcher textWatcher_ans = new TextWatcher(){
            public void beforeTextChanged(CharSequence s, int start, int count, int after) {

            }
            public void onTextChanged(CharSequence s, int start, int before, int count) {
                textView_name.setVisibility(View.VISIBLE);
            }
            public void afterTextChanged(Editable s) {
                if (s.length() == 0) {
                    textView_name.setVisibility(View.GONE);
                } else {
                    textView_name.setText("You have entered : " + editText_surname.getText());
                }
            }
</code></pre>

<p>I'm pretty stuck and i dont know what to do.
can someone pleas help me?</p>