Hello all, I am currently using accompanist ModalBottomSheetLayout along with accompanist bottom sheet navigation. Looks like compose material 3 1.1.0-beta02 has added a lot of the bottom sheet composables. However I am having difficultly with the tie in to bottom sheet navigation. Has anyone moved away from accompanist bottom sheets?
t
Travis Griggs
04/07/2023, 9:04 PM
I am definitely no expert, but I am using M3 BottomSheets and nothing from accompanist
i
Ian Lake
04/08/2023, 2:49 AM
FWIW, https://github.com/google/accompanist/pull/1543 is the Accompanist draft pull request for integrating Material3 bottom sheets into Navigation - that'll be what you need if you still want the separate Lifecycle/ViewModels/SavedState for your bottom sheets.
Ian Lake
04/08/2023, 2:51 AM
But yes, if you just wanted to use bottom sheets like you can with Dialog (e.g., as a part of your destination and not a separate destination entirely), Material 3 bottom sheets makes that possible