Almost every source says to persist data in onPause() instead of onSaveInstanceState() in preparation for the activity being torn down/set up again.
However, I cannot seem to find a concrete example of saving data to the bundle inside of a fragment's onPause() method. (outState is not available during onPause() method. It is only available in onSaveInstanceState().)
What code do I add to persist my page data properly to its outState using
override fun onPause() {
super.onPause()
// ???
}