title: Cancel all AsyncTask?
body: <p>I have a class which is used to get media file thumbs. This Loader like class starts an <code>AsyncTask</code> for every <code>ImageView</code> (is called in <code>SomeAdapter#getView()</code>). The task itself does a lot of things, and one of them is calling <code>DiskLruCache</code>, but when the SD card is unmounted, while the tasks are still running the application crashes.</p>
  
  <p>I know how to register if the card state is changed. </p>
  
  <p>So I need an approach how to stop all the running tasks. Any help would be nice. </p>