title: Android EditText imeOptions
body: <p>I am testing the <code>imeOption</code> feature in Android EditText. I understand how it works and the various options like Go, Search, Done etc. My question relates to its event listener. </p>
  
  <p>Take this <a href="https://stackoverflow.com/a/5369989/682869">answer</a>, for example, the <code>setOnEditorActionListener</code> gets invoked when the right corner button on the soft keyboard is clicked. </p>
  
  <p>The <code>setOnEditorActionListener</code> will get invoked regardless (if I'm right) of what time option is specified (as long as there is one); then why bother checking what action it was? Won't an Edit text have a fixed time option specified in the xml layout? I don't understand when <code>setOnEditorActionListener</code> gets invoked why does everyone check action id ?</p>