simple-stack-compose-integration
simple-stack-compose-integration copied to clipboard
Consider if it should be possible to somehow get a reference to the Backstack created in ComposeNavigator
https://github.com/Zhuinden/simple-stack-compose-integration/blob/392aea6d394f04d74cf00cfd7b6f50d04078a488/core/src/main/java/com/zhuinden/simplestackcomposeintegration/core/ComposeNavigator.kt#L27
When nesting, it might make sense to expose the Backstack created in ComposeNavigator, so that a parent can potentially call goBack()
on it when back is not intercepted automatically.
Or maybe trigger navigations from outside, without having to be inside the composition to get the inner backstack from a CompositionLocal
.
But is there even an idiomatic way to do this?