java.lang.Object | |
↳ | android.support.design.widget.Snackbar.Callback |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DISMISS_EVENT_ACTION | Indicates that the Snackbar was dismissed via an action click. | |||||||||
int | DISMISS_EVENT_CONSECUTIVE | Indicates that the Snackbar was dismissed from a new Snackbar being shown. | |||||||||
int | DISMISS_EVENT_MANUAL |
Indicates that the Snackbar was dismissed via a call to dismiss() .
|
|||||||||
int | DISMISS_EVENT_SWIPE | Indicates that the Snackbar was dismissed via a swipe. | |||||||||
int | DISMISS_EVENT_TIMEOUT | Indicates that the Snackbar was dismissed via a timeout. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the given
Snackbar has been dismissed, either through a time-out,
having been manually dismissed, or an action being clicked.
| |||||||||||
Called when the given
Snackbar is visible.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Indicates that the Snackbar was dismissed via an action click.
Indicates that the Snackbar was dismissed from a new Snackbar being shown.
Indicates that the Snackbar was dismissed via a call to dismiss()
.
Indicates that the Snackbar was dismissed via a swipe.
Indicates that the Snackbar was dismissed via a timeout.
Called when the given Snackbar
has been dismissed, either through a time-out,
having been manually dismissed, or an action being clicked.
snackbar | The snackbar which has been dismissed. |
---|---|
event | The event which caused the dismissal. One of either:
DISMISS_EVENT_SWIPE , DISMISS_EVENT_ACTION ,
DISMISS_EVENT_TIMEOUT , DISMISS_EVENT_MANUAL or
DISMISS_EVENT_CONSECUTIVE . |