react-native-card-stack-swiper
react-native-card-stack-swiper copied to clipboard
Jump to specific card
Hi, I hope you are going well. I am using this card-stack-swiper with data that are added dynamically. But after load the next data, the card stack moves to the first card automatically. For example, after swiping to the 10th card, the next 10 card-data is added dynamically via API. In this case, the total number of cards is 20 but it moves to the very first card. Does anybody have thoughts? Thanks.
You might try:
swiperRef.current.jumpToCardIndex(cardIndex)