title: Android: cancelling pending events
body: <p>I would like to be able to cancel all pending events in my App. How do I do it?</p>
  
  <p>If many events stack up (due to the user "mashing" different areas of the screen repeatedly) I would like to cancel all events except the last one.</p>
  
  <p>This is not the same as stopping the propagation of events further down the view stack (which is done by returning "true" from the event handler (for an example of this see <a href="http://developer.android.com/reference/android/view/View.OnLongClickListener.html#onLongClick%28android.view.View%29" rel="nofollow">here</a>).</p>