Cash Hsiao
10/27/2020, 4:53 AMBottomSheetScaffold
to implement bottom sheet behavior. In old BottomSheetBehavior
we have some middle states like STATE_DRAGGING
or STATE_HALF_EXPANDED
, however now the BottomSheetValue
have only Collapsed
and Expanded
. Is there any plan to implement additional states or other ways to deal with the middle states?matvei
10/27/2020, 9:41 AMBottomSheetScaffoldState::BottomSheetState
provide all kind of such information. For example, you can do bottomSheetState.progress
to get SwipeProgress
to know where're you going to and from and whether anything is actually happening right now.
That being said, we will probably add InteractionState
to BottomSheetScaffold at some point so you would be able to query for dragging in progress even easierCash Hsiao
10/27/2020, 9:45 AMSwipeable
before. I'll try it.matvei
10/27/2020, 9:47 AMManojna Chintapalli
12/20/2021, 11:58 PMSTATE_HALF_EXPANDED
when using BottomSheetScaffold
is there a way I can do this? I see that this is possible with ModalBottomSheet
but my UI requires me to use BottomSheetScaffold
. Thanks.