Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我照着你的说明,图片轮播下面的的点出现了,但下面点的动画会跟着箭头方向飞出去,而且点之间的切换,时间间隔感觉太长,有种黑点飞过去的感觉 #162

Open
marcos-boy opened this issue Aug 3, 2017 · 4 comments

Comments

@marcos-boy
Copy link

u0cvtcxy qncz4kehg b

@alamide0
Copy link

alamide0 commented Aug 3, 2017

这个我就不知道啦,我也是这两天刚学,不过你自己可以试着看看源码,代码量不是太多。
或者推荐你使用Swiper(https://github.com/leecade/react-native-swiper)

@yohanceli
Copy link

我也是碰到这个问题了

@yohanceli
Copy link

react-native-swiper不支持android吧 @xiaosizhao

@onlybenyang
Copy link

这个是因为源码的renderIndicator是使用的自己的DefaultIndicator,而DefaultIndicator使用绝对布局和一个移动动画来实现指示器的移动,要解决你的问题就要自己去实现一个renderIndicator方法,直接把当前indicator的背景色设置为蓝色或者其他什么颜色,而不是用移动动画去控制

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants