反应本机火种图像滑动器
React native tinder image swiper
我正在使用 React Native expo 创建一个图像滑动器,它在用户左右滑动时在图像之间切换(没有后退,总是向前滑动)并且我正在使用 react-native-tinder-swipe 包
但问题是这个包已被弃用,我只需要一个功能来完成我的项目,即显示当前卡片下方的下一张卡片(默认情况下,在用户滑动期间),我到处搜索类似的包但找不到...
有什么建议吗?
试试这个库
https://github.com/alexbrillant/react-native-deck-swiper
还有https://github.com/archriss/react-native-snap-carousel
In version 3.6.0, we've added two new layouts on top of the original
one: the first one is called 'stack' since it mimics a stack of cards,
and the other one is called 'tinder' since it provides a Tinder-like
animation.
我正在使用 React Native expo 创建一个图像滑动器,它在用户左右滑动时在图像之间切换(没有后退,总是向前滑动)并且我正在使用 react-native-tinder-swipe 包
但问题是这个包已被弃用,我只需要一个功能来完成我的项目,即显示当前卡片下方的下一张卡片(默认情况下,在用户滑动期间),我到处搜索类似的包但找不到...
有什么建议吗?
试试这个库
https://github.com/alexbrillant/react-native-deck-swiper
还有https://github.com/archriss/react-native-snap-carousel
In version 3.6.0, we've added two new layouts on top of the original one: the first one is called 'stack' since it mimics a stack of cards, and the other one is called 'tinder' since it provides a Tinder-like animation.