I am updating navigation library to `2.8.4 version...
# compose
a
I am updating navigation library to
2.8.4 version
in my project. Here I don’t need to explicitly pass routes to navDestination, I can simply pass data class to composable as destination just like
Copy code
composable<Destinations.EditScreen> { }
But I can’t find any way to open bottomsheet through this new approach. Previously I was using
bottomsheet
extension of
NavGraphBuilder
from
accompanist
lib. Is there any way to open bottomsheet through latest nav library without passing conventional routes? cc: @Ian Lake @jossiwolf
i
Type Safe support for bottom sheets has been available as part of the material-navigation artifact since September: https://developer.android.com/jetpack/androidx/releases/compose-material#1.8.0-alpha01
🙌 1
h
@Ian Lake is there any update on bottom sheet support for material3? Sorry to ping you but this has been a problem of ours for a while, everything in our app is in M3 except the bottom sheet destination 🥲
🙏 1
j
@Hristijan this is on the backlog but has not been prioritized and is awaiting some other dependencies. As mentioned in another thread, the building blocks for this are all exposed so we'd recommend rolling your own for the time being.
I haven't gotten to write that as a sample yet but I'll share it here when it's ready
thank you color 1