title: How to detect if users stop typing in EditText android
body: <p>I have an EditText field in my layout. I want to perform an action when the user stops typing in that edittext field. I have implemented TextWatcher and use its functions </p>
  
  <pre><code>@Override
  public void beforeTextChanged(CharSequence s, int start, int count, int after) { }
  
  
  @Override
  public void onTextChanged(CharSequence text, int start, int lengthBefore, int lengthAfter) { } 
  
  @Override
      public void afterTextChanged(Editable editable) {
  
      }
  </code></pre>
  
  <p>The function <code>onTextChanged</code> and <code>afterTextChanged</code> get called just after typing any character, but I want to perform action after the user has finished typing in that edittext field, just like facebook does on it's "Check In" page.</p>
  
  <p>How can I implement this?</p>