title: cancelling a handler.postdelayed process
body: <p>I am using <code>handler.postDelayed()</code> to create a waiting period before the next stage of my app takes place. During the wait period I am displaying a dialog with progress bar and <strong>cancel</strong> button.</p>
  
  <p>My problem is I can't find a way to <strong>cancel the postDelayed</strong> task before the time elapses.</p>