attachToParentRegistry

fun attachToParentRegistry(key: String, parentOwner: SavedStateRegistryOwner)

Must be called whenever the owning view is attached to a window. Must eventually be matched with a call to detachFromParentRegistry.

Calls StateRegistryAggregator.attachToParentRegistry – see that method for more information.