Event listener & Swipe-to-Dismiss enabling/disabling
The previous DismissListener
has been changed to EventListener
. This listener now notifies whenever the Snackbar
is about to enter the screen and when it dismisses.
The Snackbar used on Google's Inbox app is not swipeable, but since the Material Design Guidelines says that a Snackbar can be swiped, this functionality may now be disabled with swipeToDismiss(false)
.
See the README file for the updated documentation.