iOS
Which versions are you using:
the following is my JSON data :

the following is my code:

me too
Hi, Dynamic loading not working for me as well . but when I am making data static it's working fine. Is there any limitation of this tool on dynamic loading?
Example in https://github.com/leecade/react-native-swiper/blob/master/examples/components/Dynamic/index.js example doesn't seems to be working as well.
Team, I can also see there is not much activities on this plug-ins to address open issues(390+ open issues) as well, are you guys planning to continue support for his plug-in ?
Same problem here , dynamic data loading works fine on Android, but not on IOS.
in my case I'm using a MAP function to load multiple Views into the swiper. On IOS the views are mounted on top of eachother
I have solved this problem in the way mentioned in this link:
issues#720
I have used child components as each swipe page.
// for eg
// child components
export default component1 Site extends Component {
render(){
return <Text>Component1</Text>
}
}
// parent component (Having swiper)
<Swiper
ref={el => this.contentRef(el)}
scrollEnabled={true}
loop={false}
showsButtons={false}
showsPagination={false}
<Component1 />
<Component2 />
<Component3 />
<Component4 />
<Component5 />
</Swiper>
Now I have to show dynamic show/hide pages based on i had values like
when I applied it as following,
<Swiper
ref={el => this.contentRef(el)}
scrollEnabled={true}
loop={false}
showsButtons={false}
showsPagination={false}
{ showComponent1 && <Component1 />}
{ showComponent2 && <Component2 />}
{ showComponent3 && <Component3 />}
{ showComponent4 &&<Component4 />}
<Component5 />
</Swiper>
Problem:
Same issue with me.
same here
same here
Most helpful comment
I have solved this problem in the way mentioned in this link:
issues#720