Class

SwipeToDismissValue

States used as targets for the anchor points for swipe-to-dismiss.

Source set: Android
public enum class SwipeToDismissValue {
    /** The state of the SwipeToDismissBox before the swipe started. */
    Default,

    /** The state of the SwipeToDismissBox after the swipe passes the swipe-to-dismiss threshold. */
    Dismissed,
}

States used as targets for the anchor points for swipe-to-dismiss.

Members

Default

Source set: Android
Default

The state of the SwipeToDismissBox before the swipe started.

Dismissed

Source set: Android
Dismissed

The state of the SwipeToDismissBox after the swipe passes the swipe-to-dismiss threshold.

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: