Are bottomSheet destinations supported by default ...
# compose-android
c
Are bottomSheet destinations supported by default in navigation-compose? I thought they were, but I can't find a mention of them, but then if I look up accompanists readme, it says that they're deprecated. Am I missing something here? Have they been killed entirely?
For example. this says that navigation accompanist is not deprecated and continues to be experimental. https://medium.com/androiddevelopers/an-update-on-jetpack-compose-accompanist-libraries-august-2023-ac4cbbf059f1 while the readme of accompanist says deprecated
ah snap. just saw this: https://github.com/google/accompanist/commit/64503879cc6ffb16720aaaf47b85bea1f237b0d7 is there actually a migration guide?
k
I'm still using accompanist but I found this: https://developer.android.com/reference/kotlin/androidx/compose/material/navigation/package-summary And also this: https://android-review.googlesource.com/c/platform/frameworks/support/+/2953937 It seems that there should be a new module that provides the support.
f
Could be related; Routes are no longer Strings, but Objects in the latest version.

https://www.youtube.com/watch?v=AIC_OFQ1r3k

https://github.com/philipplackner/TypeSafeComposeNavigation/blob/master/gradle/libs.versions.toml#L11
e
They could be either Strings or Objects
👍 2