In Google Maps the bottom sheet has 4 distinct sta...
# compose
j
In Google Maps the bottom sheet has 4 distinct states, and these line up with the states for
BottomSheetBehavior
(collapsed, expanded, half-expanded, and hidden). Is there any chance that the standard Jetpack Compose bottom sheet will eventually support the other states?
c
google maps have 4 states? i thought a bottom sheet always had 3 states. either way. @jossiwolf (sorry for the ping, but you sounded relevant?)
j
Yes, in Google Maps if you tap on a place, you get a
half-expanded
bottom sheet. You can drag it up to be
expanded
or down to be
collapsed
. And if you tap back on the map it becomes
hidden
. And this support is in the bottom sheet when not using Jetpack Compose.