Package-level declarations

Types

Link copied to clipboard

Snackbar Manager that coordinates between backend components producing messages for the user and the SnackbarHost in the app Scaffold.

Link copied to clipboard
open class SnackbarViewModel(snackbarManager: SnackbarManager) : ViewModel

A ViewModel the maintainer the SnackbarHostState, and a reference to the Manager for both processes snackbars sequentially and also showing a message.

Link copied to clipboard
data class UiMessage(val message: String, val id: String = UUID.randomUUID().toString(), val error: Boolean = true)

A UI message, either an error or informational to display.