when i add a Fragment statically in the Activity layout, i can't seem to be able to recover the state in onViewStateRestored(savedInstanceState: Bundle)
even though onSaveInstanceState(outState: Bundle)
is called correctly.
It works for the same Fragment, when i add it dynamically.
Is this simply not possible to do this or does it require additional configuration in the Manifest or w/e
EDIT: onViewStateRestored(savedInstanceState: Bundle)
will be called, but the Bundle is null, as well as in other Lifecycle callbacks that pass the Bundle through