Close slide element when a new element is selected/slid.

Dee Skiver shared this question 2 years ago
Answered

I want to be able to simulate a slide open/close action similar to iOS iPhone where when you swipe left on an element (such as as an email) you see the available actions for that item (more, flag, trash). I have this swipe behavior partially working, but I need to be able to reset the item back to it's original position if the user swipes on a different data list item. I think I need to be able to get the row_index of the last element swiped, but I can't figure out how to do it. Help very much appreciated!


f38d9a4084aaf330ec76b875098f47ff

Comments (2)

photo
1

Does anyone have a suggestion?

photo
1

Hi there,


Check out this tutorial: http://www.justinmind.com/support/sli...


It should help you get started in creating slide menus/slide panes.


Best,


Danielle