title: Android: How can I validate EditText input?
body: <p>I need to do form input validation on a series of EditTexts. I'm using OnFocusChangeListeners to trigger the validation after the user types into each one, but this doesn't behave as desired for the last EditText.</p>
  
  <p>If I click on the "Done" button while typing into the final EditText then the InputMethod is disconnected, but technically focus is never lost on the EditText (and so validation never occurs).</p>
  
  <p>What's the best solution?</p>
  
  <p>Should I be monitoring when the InputMethod unbinds from each EditText rather than when focus changes? If so, how?</p>