Shuijun wang
Results
3
comments of
Shuijun wang
hmmm....I just update your latest code, it still does not work in Android device, seems the this.setState({current: index}) doesn't trigger re-render. I am new to React native, I will try...
Hey, I found the root cause, it is because the onScroll callback of swiper is not supported in Android, so I add onSelectedIndexChange(index, offset) { this.state.shift.setValue(index \* SCREEN_WIDTH);//update the offset...
Sure, 👍