jemise111/react-native-swipe-list-view

Question: Change SwipeRow style when swiping started

cip123 opened this issue · 0 comments

Hi, I started using the library, and it looks great.

The issue I am facing is that I couldn't find a way to change the style of the SwipeRow when the user started sliding it (I am using a standalone SwipeRow).
I would like a darker background or a border for that item, making it easier to see what row is selected ( I don't use borders for the elements of the ListView).

I have looked at swipeGestureBegan, hoping that I set the style conditionally for that row, but that function doesn't take any parameter, so I can't know which row started sliding.

Is there a way around this?