Skip to content

[List] app:swipeToPrimaryActionEnabled doesn't exist #4992

@HotarunIchijou

Description

@HotarunIchijou

Description: Following documentation on this page tried to implement fully swiped state. Documentation says

If swipe to trigger primary action is enabled (app:swipeToPrimaryActionEnabled=true on a ListItemCardView), make sure to implement the primary action to be triggered through a SwipeStateCallback

which is literally cannot be done in the latest Material release (1.14.0-alpha08)

Android API version: 36

Material Library version: 1.14.0-alpha08

Although there's an attribute app:primaryActionSwipeMode which is currently used in M3 Catalog app

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions