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

第一张图片闪过 #223

Open
reidchan opened this issue May 11, 2016 · 11 comments
Open

第一张图片闪过 #223

reidchan opened this issue May 11, 2016 · 11 comments

Comments

@reidchan
Copy link

为什么进入界面,即使把自动播放禁止了,还是会闪过第一张图片,直接从第二张开始才正常。

@panyongwei
Copy link

我也遇到这样的问题了,你解决了吗

@excitedhaha
Copy link

我也是

@zerogan
Copy link

zerogan commented Sep 18, 2016

我这每次初始化结束,会从最后一页闪回第一页,折腾了1天。你们的问题未遇到过

@aymoreyn
Copy link

请问解决了么?我也遇到了这个问题

@zerogan
Copy link

zerogan commented Oct 17, 2016

解决了,需要修改他的源代码


发件人: aymoreyn notifications@github.com
发送时间: 2016年10月16日 16:14
收件人: daimajia/AndroidImageSlider
抄送: coder2014; Comment
主题: Re: [daimajia/AndroidImageSlider] 第一张图片闪过 (#223)

请问解决了么?我也遇到了这个问题


You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com//issues/223#issuecomment-254033738, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHKaDtXkjyzvew4yj3vdhzry_-Xt-AGvks5q0dzYgaJpZM4Ib4TT.

@aymoreyn
Copy link

viewHolder.slider.setCurrentPosition(0, true);
new Handler().postDelayed(new Runnable() {
@OverRide
public void run() {
viewHolder.slider.startAutoCycle();
}
}, 4000);

我直接用这几行代码 取缔 setDuration 亲测有效

@excitedhaha
Copy link

你们是把项目拷贝下来,作为一个library moduler然后改源码?

@ayaseruri
Copy link

@aymoreyn 您的方法似乎没有用;
谁有更好地解决方式么?

@moneyman5988
Copy link

moneyman5988 commented Feb 1, 2017

@coder2014 我也遇到从最后一页闪回第一页的问题,请问要修改什么呢?

@Heipi
Copy link

Heipi commented Jul 4, 2018

same problem ,Have a good solution?

@Heipi
Copy link

Heipi commented Jul 4, 2018

I make a delayed display,but not good

new Handler().postDelayed(new Runnable() {
@OverRide
public void run() {
slider_layout.setVisibility(View.VISIBLE);
slider_layout.startAutoCycle();
}
},3000);

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

8 participants