aheze / SwipeActions

Add customizable swipe actions to any view.

Home Page:https://twitter.com/aheze0/status/1646399867764510721

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't access SwipeView id

levyanjos opened this issue · comments

commented

Documentation says it's possible to override id by set options.id, however i couldn't find any thing related.

Screenshot 2024-02-01 at 12 26 48

Access the SwipeView id is important for context where we're trying to open multiple rows programmatically. SwipeViewGroup doesn't seem to be affected by context state changes like context.state.wrappedValue = context.state.wrappedValue == .expanded ? .closed : .expanded, so access id would allow us to set correctly the swipeViewGroupSelection and eventually automatically close not target rows.