title: How to remove all callbacks from a Handler?
body: <p>I have a <a href="http://developer.android.com/reference/android/os/Handler.html" rel="noreferrer">Handler</a> from my sub-Activity that was called by the main <a href="http://developer.android.com/reference/android/app/Activity.html" rel="noreferrer">Activity</a>. This Handler is used by sub-classes to <a href="http://developer.android.com/reference/android/os/Handler.html#postDelayed%28java.lang.Runnable,%20long%29" rel="noreferrer"><code>postDelay</code></a> some Runnables, and I can't manage them. Now, in the <code>onStop</code> event, I need to remove them before finishing the Activity (somehow I called <code>finish()</code>, but it still call again and again). Is there anyway to remove all callbacks from a Handler?</p>