I am using react-native-swiper-flatlist.Swiper and dots from swiper are there but images are not showing. I am pretty new to react-native. This is my code:
<SwiperFlatList
autoplay
autoplayDelay={2}
autoplayLoop
index={2}
showPagination
data={img}
renderItem={({ item }) =>{
return(
<Image style={{width, height: 200, backgroundColor:"#f0ffff" }} source={{uri:item.uri}}/>
)
} }
/>
Otherwise Please Share Full Source Code.
Your image data is not from the web, this is local data so use this code :
instead of
also change data formate :
to