You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/androidx/WorkflowSavedStateRegistryAggregator.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -199,13 +199,13 @@ public class WorkflowSavedStateRegistryAggregator {
199
199
*
200
200
* - if [view] is dropped but may later be replaced with a new instance, as when
201
201
* pushing and popping a back stack, call [saveAndPruneChildRegistryOwner].
202
-
* This will capture the outgoing view's state, and to stop requesting updates from it.
202
+
* This will capture the outgoing view's state, and stop requesting updates from it.
203
203
* The saved state will be restored to the next [view] passed to
204
204
* [installChildRegistryOwnerOn] with the same [key]
205
205
*
206
206
* - if [view] is dropped and will not be restored, as when a window is closed or
207
-
* back stack history is modified, call [prune] _with the keys of the views that
208
-
* remain active_.
207
+
* back stack history is modified, call [pruneAllChildRegistryOwnersExcept]
208
+
* _with the keys of the views that remain active_.
209
209
*
210
210
* @param key identifier for the new [SavedStateRegistryOwner], unique across this
211
211
* [WorkflowSavedStateRegistryAggregator]. Typically this is derived from the
0 commit comments