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
Colton Idle
11/16/2022, 9:52 PM
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
Jeff Jackson
11/17/2022, 6:43 PM
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.