-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
navigation-experimental: LocalViewModelStoreOwner, LocalLifecycleOwner, LocalSavedStateRegistryOwner #507
Comments
Other than If you also use the codegen we have replacements for As long as you're fine with opting into There is nothing for |
Hi @gabrielittner, thanks for your reply. Currently, I'm using Freeletics Navigation without Codegen.
Thank you so much! |
For the use case of avoiding resources being active in the background the default lifecycle owner from the Activity should be enough. There are 2 cases unless I'm missing one
So even without a back stack entry specific lifecycle background work should get stopped. |
Hi, first of all, thanks for your awesome library 💯
In androidx compose navigation, I see
saveableStateHolder.SaveableStateProvider(content)
is inCompositionLocalProvider
that providesViewModelStoreOwner
,LifecycleOwner
andSavedStateRegistryOwner
.What about adding that to
navigation-experimental
@Composable fun Show(...)
?This issue is just my thought/question about it 😄
The text was updated successfully, but these errors were encountered: