Closed durgaswaroop closed 1 year ago
@durgaswaroop Yes, this library still works.
You are not passing any actions to render. It will work just like FlatList, because this library simply extends it. (That's one of the main benefits of this library's approach...it also means zero dependencies).
Take a look at the example code, particularly the block at Line 109 and its use on Line 145. https://github.com/esthor/react-native-swipeable-list/blob/main/examples/SwipeableListExampleApp/App.tsx#L109
I'm closing this issue, since the code shown acts as expected when not passing quick actions. If you continue to have issues, please feel free to comment or open another issue.
I replaced an existing Flatlist with
SwipeableFlatList
and it doesn't handle any of the swipes. It behaves just like the regular Flatlist. Does something else need to be done?Here is what I have:
That's the item I am rendering in the Flatlist and this is how I have the Flatlist configured:
Looks straightforward to me, but the cards do not handle any gestures and show no indication that they are not just the regular Flatlist.