react-native-swiper
react-native-swiper copied to clipboard
How to setIndex?
Which OS ?
Version
Which versions are you using:
- react-native-swiper v?
- react-native v0.?.?
Expected behaviour
Actual behaviour
How to reproduce it>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
Steps to reproduce
1. 2. 3.
Same question. How to set the swiper index (with animation)?
Same question
scrollBy(pageIndex - currentPageIndex, true)
scrollBy(offsetIndex, animated)
or
scrollTo(index,animated)