<https://developer.android.com/jetpack/androidx/re...
# compose
a
https://developer.android.com/jetpack/androidx/releases/navigation#2.4.0-alpha07 Got to wait before upgrading to this dependency to use alongside accompanist, despite all the great bug fixes. It doesn't play nice with accompanist AnimatedNavhost(), when trying to use it an error occurs
Copy code
java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.Set
        at com.google.accompanist.navigation.animation.AnimatedNavHostKt.AnimatedNavHost$lambda-3(AnimatedNavHost.kt:323)
        at com.google.accompanist.navigation.animation.AnimatedNavHostKt.AnimatedNavHost(AnimatedNavHost.kt:158)
        at com.google.accompanist.navigation.animation.AnimatedNavHostKt.AnimatedNavHost(AnimatedNavHost.kt:85)
🦜 2
👍 3
i
Yep, you'll need to wait for the next Accompanist build (that depends on alpha07). There's a lot of really nice improvements to the
AnimatedNavHost
APIs to look forward to in that release too though
🙂 1
a
Looking forward to it! This update solves a huge chunk of navigation bugs my app has been having, so it would be quite nice to finally mark them as solved.
i
Latest Accompanist release (0.17.0) is out: https://twitter.com/chrisbanes/status/1428360190043119619
🦜 1