title: Save data in activity's onDestroy method
body: <p>I'm writing a tasklist and have Project object, which holds all the tasks (and metadata). I use action log, so when tasks changes i do not save it immediately to database, just keep it in memory to dump in database on activity finish. Activity's onDestroy method is best place for this: if no onRetainNonConfigurationInstance method was called I start service to save project (one's instance is stored in Application). Saving is expensive: In DB project have revision, so I save new data, change current revision and delete previous revision's data. So i do not afraid of suddent application stop. </p>
  
  <p>BUT, aсcording <a href="http://developer.android.com/reference/android/app/Activity.html#onDestroy%28%29" rel="noreferrer">to documentation</a> i must <code>do not count on this method being called as a place for saving data.</code> </p>
  
  <p>Is there any alternative place for saving my data?</p>