setSavedStateRegistryOwner
public final Unit setSavedStateRegistryOwner(SavedStateRegistryOwner registryOwner, CoroutineScope retryScope)
Sets a lifecycle observer to handle state restoration after the system kills the app.
Parameters
registryOwner
The SavedStateRegistryOwner to which the observer is attached.
retryScope
Should be a scope setDocumentForReview would be called in (ex: viewModelScope).