Chuck Stein
06/12/2022, 5:02 PMSnackbarDuration.Indefinite
javadoc says "_Show the Snackbar indefinitely until explicitly dismissed or action is clicked_", however so far I haven't figured out any way for the user to manually dismiss a snackbar other than clicking the action. How can this be done?Albert Chang
06/12/2022, 11:42 PMChuck Stein
06/13/2022, 4:07 AMAlbert Chang
06/13/2022, 4:13 AMScaffold(
snackbarHost = { state ->
SnackbarHost(hostState = state) { data ->
SwipeDismissSnackbar(snackbarData = data)
}
}
)
Chuck Stein
06/13/2022, 12:42 PM