You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to just discard the top card without actually triggering/invoking a swiping action.
Don't wan't to swipe any direction, just need to programmatically dismiss/discard the top card.
Example: if there are three (3) cards, typically I would swipe in a direction and the respective action would be invoked. There's an action for each direction (Up, Down, Left, Right); so we typically have 4 actions.
However, I need a fifth (5th) action, which is just get rid of the top card. I would get rid of the top card, which would mean there are only 2 cards, so I'd need a new one to be pushed on the bottom of the cards.
Diagram of card view stack before and after this "discard-action" that I need: [1] [2] [3]->"DISCARD-ACTION"->[2] [3] [4]
Hopefully I'm making sense.
Is there something comparable to what I need, i.e., ZLSwipeableView.discardTopView()
The text was updated successfully, but these errors were encountered:
Need to just discard the top card without actually triggering/invoking a swiping action.
Don't wan't to swipe any direction, just need to programmatically dismiss/discard the top card.
Example: if there are three (3) cards, typically I would swipe in a direction and the respective action would be invoked. There's an action for each direction (Up, Down, Left, Right); so we typically have 4 actions.
However, I need a fifth (5th) action, which is just get rid of the top card. I would get rid of the top card, which would mean there are only 2 cards, so I'd need a new one to be pushed on the bottom of the cards.
Diagram of card view stack before and after this "discard-action" that I need:
[1] [2] [3]
->"DISCARD-ACTION"
->[2] [3] [4]
Hopefully I'm making sense.
Is there something comparable to what I need,
i.e., ZLSwipeableView.discardTopView()
The text was updated successfully, but these errors were encountered: