I am navigating from 1 composable to another (kind...
# compose
v
I am navigating from 1 composable to another (kind of screens), so I passed
navController.popBackStack()
while navigating, and using this on pressing
backButton
in 2nd composable but when I am in 2nd compose and
rotate
screen , and then press
backButton
, it doesnt do anything Any idea why ? 🤔
a
there was a bug that’s been fixed in alpha03 I think
v
alpha03 of compose version, or what if its been fixed, any idea what could be the reason
i
alpha03 of Navigation Compose (which is tied to Compose alpha08). See the release notes for a link to the issues that were fixed in that release: https://developer.android.com/jetpack/androidx/releases/navigation#compose-1.0.0-alpha03
v
thank you @Ian Lake
@Ian Lake on trying alpha08 compose version and alpha03 navigation version I got this build error :
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find androidx.ui:ui-tooling:1.0.0-alpha08.
Searched in the following locations:
- <https://dl.google.com/dl/android/maven2/androidx/ui/ui-tooling/1.0.0-alpha08/ui-tooling-1.0.0-alpha08.pom>
- <https://jcenter.bintray.com/androidx/ui/ui-tooling/1.0.0-alpha08/ui-tooling-1.0.0-alpha08.pom>
Required by:
project :app
Possible solution:
- Declare repository providing the artifact, see the documentation at <https://docs.gradle.org/current/userguide/declaring_repositories.html>
i
That artifact has been renamed, see the previous discussion about it (and a link to the release notes that mention that): https://kotlinlang.slack.com/archives/CJLTWPH7S/p1606936115021200?thread_ts=1606933913.014500&amp;cid=CJLTWPH7S
🙏 1