SavedStateRegistry.AutoRecreated



Subclasses of this interface will be automatically recreated if they were previously registered via runOnNextRecreation.

Subclasses must have a default constructor

Summary

Public functions

Unit

This method will be called during dispatching of androidx.lifecycle.Lifecycle.Event.ON_CREATE of owning component which was restarted

android

Public functions

onRecreated

fun onRecreated(owner: SavedStateRegistryOwner): Unit

This method will be called during dispatching of androidx.lifecycle.Lifecycle.Event.ON_CREATE of owning component which was restarted

Parameters
owner: SavedStateRegistryOwner

a component that was restarted