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

AutoPlayTime #206

Open
a120476536 opened this issue Oct 25, 2021 · 3 comments
Open

AutoPlayTime #206

a120476536 opened this issue Oct 25, 2021 · 3 comments

Comments

@a120476536
Copy link

a120476536 commented Oct 25, 2021

代码里设置AutoPlayTime的话,会导致xbanner白屏卡住。设置轮播时间代码我设置在setBannerData() 后(我xml里边也设置了AutoPlayTime)

@xiaohaibin
Copy link
Owner

意思是不设置就不会出现么

@a120476536
Copy link
Author

意思是不设置就不会出现么

是的。我把代码里的设置去掉就正常了。

@xiaohaibin
Copy link
Owner

这就有点奇怪,不过,正常是要在setBannerData之前设置,之后设置, 按道理这个方法是不起作用的
/**
* 设置自动轮播时间间隔
*
* @param mAutoPalyTime
*/
public void setAutoPalyTime(int mAutoPalyTime) {
this.mAutoPalyTime = mAutoPalyTime;
}

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

2 participants