-
public interface SnackbarDataInterface to represent one particular Snackbar as a piece of the SnackbarHostState
-
-
Method Summary
Modifier and Type Method Description abstract UnitperformAction()Function to be called when Snackbar action has been performed to notify the listeners abstract Unitdismiss()Function to be called when Snackbar is dismissed either by timeout or by the user abstract StringgetMessage()abstract StringgetActionLabel()abstract SnackbarDurationgetDuration()-
-
Method Detail
-
performAction
abstract Unit performAction()
Function to be called when Snackbar action has been performed to notify the listeners
-
dismiss
abstract Unit dismiss()
Function to be called when Snackbar is dismissed either by timeout or by the user
-
getMessage
abstract String getMessage()
-
getActionLabel
abstract String getActionLabel()
-
getDuration
abstract SnackbarDuration getDuration()
-
-
-
-