"The type Main must implement the inherited abstract method TextWatcher.beforeTextChanged(charSequence,int,int,int)
<p>I'm trying to add a TextWatcher editbox.afterTextChanged listenering to my "Main" activity where I have already used an onFocusListener. I receive this error message on the line where I declare the Main class:</p>

<pre><code>public class Main extends Activity implements OnFocusChangeListener, TextWatcher{
</code></pre>

<p>the listener is set to an edittext box with:</p>

<pre><code>etBox1.addTextChangedListener(this);
</code></pre>

<p>and the code to implement with the catch is:</p>

<p>public void afterTextChanged(Editable s)
   {    doMyCalcs(); } </p>

<p>Any idea where I went wrong?</p>
