title: how to find if the user has completed typing on an edittext view
body: <p>I would want to find if the user has completed typing in an <code>edittext</code> and if yes then remove the <code>focussable</code> from that component. I have tried implementing a <code>TextWatcher()</code> and overridden the <code>onTextChanged()</code>, <code>beforeTextChanged()</code> and <code>afterTextChanged()</code> but then im not sure how i would know if the user i/p is complete. Once the user i/p is complete i want to set its <code>focusable</code> to false (<code>text.setFocusable(false)</code>).</p>
  
  <p>I understand that <code>afterTextChanged()</code> gets invoked everytime the user adds a character to the <code>edittext</code> view.</p>
  
  <pre><code>text.addTextChangedListener(new TextWatcher() {
    public void afterTextChanged(Editable s) {
      // component.setValue(s.toString());
    }
  
    public void onTextChanged(CharSequence s, int start, int before, int count) {
      // Do nothing.
    }
  
    public void beforeTextChanged(CharSequence s, int start, int count, int after) {
      // Do nothing.
    }
  });
  </code></pre>
  
  <p>I want to set the value to the component only once the user i/p is complete.</p>