Fixed
Status Update
Comments
jb...@google.com <jb...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit ae370934d2d0416b6f555755ef66be4abe51b42d
Author: Jeremy Woods <jbwoods@google.com>
Date: Fri Feb 05 10:49:38 2021
Provider SavedStateRegistryOwners to back stack entries
With the new addition of the LocalSavedStateRegistryOwner we can now
provide the NavBackStackEntry's SavedStateRegistryOwner to each
Composable destination.
RelNote: "Composable NavDestinations can now access the
NavBackStackEntry's SavedStateRegistryOwner by using the
LocalSavedStateRegistryOwner CompositionLocal."
Test: NavHostTest.savedStateRegistryOwnerTest
Bug: 179469431
Change-Id: I435d70ef0cfa8059e0d490cd5e4ed141b690ec59
M navigation/navigation-compose/src/androidTest/java/androidx/navigation/compose/NavHostTest.kt
M navigation/navigation-compose/src/main/java/androidx/navigation/compose/NavHost.kt
https://android-review.googlesource.com/1577946
Branch: androidx-main
commit ae370934d2d0416b6f555755ef66be4abe51b42d
Author: Jeremy Woods <jbwoods@google.com>
Date: Fri Feb 05 10:49:38 2021
Provider SavedStateRegistryOwners to back stack entries
With the new addition of the LocalSavedStateRegistryOwner we can now
provide the NavBackStackEntry's SavedStateRegistryOwner to each
Composable destination.
RelNote: "Composable NavDestinations can now access the
NavBackStackEntry's SavedStateRegistryOwner by using the
LocalSavedStateRegistryOwner CompositionLocal."
Test: NavHostTest.savedStateRegistryOwnerTest
Bug: 179469431
Change-Id: I435d70ef0cfa8059e0d490cd5e4ed141b690ec59
M navigation/navigation-compose/src/androidTest/java/androidx/navigation/compose/NavHostTest.kt
M navigation/navigation-compose/src/main/java/androidx/navigation/compose/NavHost.kt
jb...@google.com <jb...@google.com> #3
This has been added internally and will be available in Navigation Compose 1.0.0-alpha08
.
Description
Could you please add it?