rideonagency / ro-react-native-swiper

The best Swiper component for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autoplay error

ruijia168 opened this issue · comments

Which OS ?

Android

Version

Which versions are you using:

  • react-native-swiper v1.0.0
  • react-native v0.7.0

Expected behaviour

I have seven images that I want autoplay to play one by one

Actual behaviour

In fact, the first time the images were rotated, the two images were rotated together until all seven images had been rotated once, and the second time they were rotated one by one

And on the carousel, it plays my last image as the first image

Hi @ruijia168 ,
thanks for the issue!
Do you have a reproducible example of the issue?
Or are you referring to an example already present in the "Examples" folder of the library?

6d6cbf0
If the View and Image like in this example don't show up in my case.

Okok perfect, thanks.
I'm working on it and will update you in a few days

Hi @ruijia168 ,
I tried to replicate the problem but couldn't.
I'm not having the issue you reported, meanwhile I also updated the example project.
I've created a new branch "fix/upgradeExampleProject", can you test it?
So let's see if you have the same issue in the example project too, now I've created an example dedicated to image autoplay it might help to have it.
("AutoplayImages")

Thanksss

hi @Richi2293 ,
Unfortunately, I was able to successfully run the sample project in the new branch, but when I ran my project, I still had the same issues (I was confused, the only difference from the sample project was that my bannerList was fetched asynchronously), but I didn't have this problem with the other libraries

Ok, so the sample project works for you correctly?
Can you add me to your repository and I will try to test directly in your project?
Or we have to find a way to replicate the issue in the sample project