While it is working perfectly on iOS, on android the swiper comes up with an empty first slide. I have to swipe from right to left to get the real first slide. When swiping back, also an empty slide will be shown as i would setup an additional empty slide.
Can anyone confirm?
I will provide an example later.
After update to 1.4.5 the first slide on android isnt an empty white screen anymore as i reported in this issue initially, but it starts with the last slide. So this one relates to https://github.com/leecade/react-native-swiper/issues/157
@itinance set initial state to two empty item like:
this.state ={
items:[{},{}]
}
try it out.it works for me.
I have the same promble, it show empty when only one item on Android, but it's working perfectly on iOS
Update: I fix it by show item view directly if items length is 1.
I've encountered the same white screen problem. As I enter a new page, and start render the swiper in android, it show white screen in swiper as the first slide. After I scroll the white screen disappeared.
This situation happen at
swiper: v1.5.4,
react-native: 0.34.1
Can anyone help please? @leecade
+1
+1
+1
Most helpful comment
I have the same promble, it show empty when only one item on Android, but it's working perfectly on iOS
Update: I fix it by show item view directly if items length is 1.