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