public static interface SnackBar.OnStateChangeListener
| Modifier and Type | Method and Description |
|---|---|
void |
onStateChange(SnackBar sb,
int oldState,
int newState)
Called when SnackBar's state is changed.
|
void onStateChange(SnackBar sb, int oldState, int newState)
sb - The SnackBar fire this event.oldState - The old state of SnackBar.newState - The new state of SnackBar.