title: Database access in Android - what is the optimal moment for saving data
body: <p>I´ve written a Quiz app where I want to add a score for right and wrong answers. </p>
  
  <p>My problem is that I don't know what the best moment for saving the data is. Writing the current score after each question is too resource-intensive, isn´t it? </p>
  
  <p>Is there any way to save them when the user closes the app?</p>