where i put react-native-swiper into react-native-scrollable-tab-view, the image can,t show, my react-native version is 0.28, how can i solve this.

i found is not the problem of reac-native-scrollable-tab-view ,when i use react-native-swiper in listview renderHeader in android, the image can,t show
Have similar issue, Image is not loading when used inside listview
Have a same issue
Have similar issue , i see the source code ,maybe use ViewPagerAndroid lead to this problem
Have similar issue, did anyone solve this?
Did you try to add prop 'removeClippedSubviews={false}' ?
<Swiper removeClippedSubviews={false}>
{this.props.children}
</Swiper>
removeClippedSubviews causes the same problem.
I got the same problem when using this swiper and react-native-scrollable-tab-view. According to this which is a quite similar case, there is a problem with the use of ViewPagerAndroid. So I try to find ViewPagerAndroid in the source file and replace it with Scrollview. And now it works like charm alongside react-native-scrollable-tab-view.
@leecade is there any particular reason in using ViewPagerAndroid?
I found out that the workaround I mentioned above, messed up with the pagination.
I find another solution to integrate this swiper and react-native-scrollable-tab-view without messing the source file. I make another component that only render the swiper, then mount it in the main component.
I use the way mentioned by @habibridho , replace ViewPagerAndroid by the Scrollview. The swiper show, but when I swipe to right after fifth time, the swipe can't be sliced again, what the problem.
I also encountered the same problem。
<ListView
removeClippedSubviews={false}
/>
@liuya891012 yes, scrollview won't render sub component outside of viewport for improve performance
Guys, I'm having this same issue. I'm using a swiper inside a main swiper. If I change something in the code and reload, it shows perfectly. Tried to set all ScrollView and Swiper removeClippedSubviews props to false, changed ViewPagerAndroid in source to ScrollView, but nothing works.
If I change to loop false and swap, the next image loads too.
Help? =(



still not work @liuya891012
but nothing works +1 @ammichael
where add??
yup, i have try this #311, and the problem solved.you can try this way selectively
react-native-scrollable-tab-view cause the problem,i have used another component to solved it
@mah93 which lib do you use?
find the index.js in node_modulesreact-native-swiper\src. In the line 640 replace ViewPagerAndroid >> ScrollView.
Comment onPageSelected={this.onScrollEnd} and add onMomentumScrollEnd={this.onScrollEnd}
Edit line 466: this.scrollView && this.scrollViewanimated ? 'setPage' : 'setPageWithoutAnimation' >> this.scrollView && this.scrollView.scrollTo({ x, y, animated })
Sorry to arthur of react-native-swiper i just want to use it on android =.=
@chudaotrucnhan You're right!
Most helpful comment
Did you try to add prop 'removeClippedSubviews={false}' ?
removeClippedSubviews causes the same problem.