Function

dismiss

Remove the view from the WindowManager.

dismiss

Source set: Android
fun dismiss()

Remove the view from the WindowManager.

dismiss

Source set: Common
public fun SemanticsPropertyReceiver.dismiss(
    label: String? = null,
    action: (() -> Boolean)?,
): Unit

Action to dismiss a dismissible node.

Parameters

label Optional label for this action.
action Action to be performed when the SemanticsActions.Dismiss is called.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: