title: Prevent background download from stopping in android app when screen rotated
body: <p>So I have a download button in my application which starts an ASyncTask to download a binary file. When I rotate the screen it stops the download obviously because the activity is destroyed. </p>
  
  <p>Would there be a way to stop the download from being killed or would I just have to save the state and then restart the download when and if the screen is rotated? </p>
  
  <p>Thanks</p>