Package-level declarations
Types
Properties
Functions
Link copied to clipboard
fun BlockingBox(modifier: Modifier = Modifier, blocked: Boolean, blockSilentlyImmediately: Boolean = true, delayBeforeBlock: Long = BlockingBoxDefaults.longDelay, minTimeToShow: Long = BlockingBoxDefaults.longDelay, blockingSurface: @Composable BoxScope.() -> Unit = defaultBlockingSurface, content: @Composable BoxScope.() -> Unit)
Link copied to clipboard
fun ScreenContent(modifier: Modifier = Modifier, status: ScreenContentStatus, forceLoading: Boolean = false, onRetry: () -> Unit = {}, error: @Composable () -> Unit = { }, blockingSurface: @Composable BoxScope.() -> Unit = defaultBlockingSurface, content: @Composable BoxScope.() -> Unit)
Link copied to clipboard
fun ScaffoldState.ShowGenericError(message: String = genericErrorString, duration: SnackbarDuration = SnackbarDuration.Short, onGenericErrorDismissed: () -> Unit = {})
Shows a generic error Snackbar at the bottom of the Scaffold.
Link copied to clipboard
suspend fun BottomSheetScaffoldState.showGenericError(context: Context, duration: SnackbarDuration = SnackbarDuration.Short, onGenericErrorDismissed: () -> Unit = {})
Shows a generic error Snackbar at the bottom of the BottomSheetScaffold.
suspend fun ScaffoldState.showGenericError(context: Context, duration: SnackbarDuration = SnackbarDuration.Short, onGenericErrorDismissed: () -> Unit = {})
Shows a generic error Snackbar at the bottom of the Scaffold.
Link copied to clipboard
suspend fun BottomSheetScaffoldState.showSnackBar(message: String, duration: SnackbarDuration = SnackbarDuration.Short, onDismissed: () -> Unit = {})
Shows a Snackbar at the bottom of the BottomSheetScaffold.
suspend fun ScaffoldState.showSnackBar(message: String, duration: SnackbarDuration = SnackbarDuration.Short, onDismissed: () -> Unit = {})
Shows a Snackbar at the bottom of the Scaffold.