Class

DismissDirection

The directions in which a SwipeToDismiss can be dismissed.

Source set: Common
public enum class DismissDirection {
    /** Can be dismissed by swiping in the reading direction. */
    StartToEnd,

    /** Can be dismissed by swiping in the reverse of the reading direction. */
    EndToStart,
}

The directions in which a SwipeToDismiss can be dismissed.

Members

StartToEnd

Source set: Common
StartToEnd

Can be dismissed by swiping in the reading direction.

EndToStart

Source set: Common
EndToStart

Can be dismissed by swiping in the reverse of the reading direction.

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: