jemise111 / react-native-swipe-list-view

A React Native ListView component with rows that swipe open and closed
https://www.npmjs.com/package/react-native-swipe-list-view
MIT License
2.78k stars 528 forks source link

RenderItem, RenderHiddenItem, RenderRow, RenderHiddenRow #629

Closed Sotatek-QuanDo closed 5 months ago

Sotatek-QuanDo commented 5 months ago

I want to animated the hiddenItem like this example https://github.com/jemise111/react-native-swipe-list-view/blob/master/SwipeListExample/examples/actions.js But as i see, the swipedAnimatedValue (_translates is not disappear from renderHiddenItem, instead it's in renderHiddenRow. When i use renderHiddenRow, i think i have to use renderRow (if i use renderItem, it can't be swipe). But the renderItem is required. So how can I fix this? I need the swipedValueChange for each row

Environment