title: Jetpack compose - how do I refresh a screen when app returns to foreground
body: <p>I need to automatically refresh an Android Compose screen when the app returns to the foreground.</p>
  <p>I have an that requires permissions and location services.</p>
  <p>If the user has switched any of these off a list is drawn of the items that need to be changed. When the user goes to Settings and the app returns to the foreground I would like the list to refresh to reflect the changes.</p>
  <p>I am using Compose and Compose navigation. I have looked and I can't figure out the equivalent of onResume lifecycle event that could be used to trigger the refresh.</p>
  <p>Any ideas would be gratefully received as I am at a loss.</p>