Does have any good information on how to handle pa...
# compose
j
Does have any good information on how to handle passing data back to a composable from a bottomSheet that lives in Accompanist ModalBottomSheetLayout? ex: I have a composable that interacts with a bottomSheet and would like to send data back to the composable to filter a list. I know you can pass an argument through the navcontroller navigation, but I am wondering if there is a better way (possibly share a viewmodel?) Thank you.
i
Do you mean a bottom sheet handled by Accompanist Navigation Material's
bottomSheet
destinations? Navigation already supports returning a result: https://developer.android.com/guide/navigation/navigation-programmatic#returning_a_result
🙏 1