Fixed
Status Update
Comments
il...@google.com <il...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
ap...@google.com <ap...@google.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
Description
Component used: Navigation Compose
Navigation Compose's
NavHost
(and any other Compose related Navigator), must all use the same pattern of:It would be nice if we could extract that out into a reusable container, so that any Navigator could write:
Where a
fun NavBackStackEntry.compositionLocalProvider(content: @Composable () -> Unit)
would encapsulate all of the details for you.I'm not particularly tied to the name / use of an extension, but I like the reuse of
CompositionLocalProvider
in a way that doesn't add an overload in a different package to the global namespace.