-
Notifications
You must be signed in to change notification settings - Fork 8
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
提个性能问题 #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当BannerView不显示在屏幕上的时候,定时器还会一直执行,如果页面中有很多这种View的话,可能会造成性能影响。
可以在BannerView不显示在屏幕上的时候停止定时器,当BannerView显示到屏幕上的时候再恢复定时器。
演示图链接:https://gitee.com/internetWei/images/raw/master/uPic/2022_04_28.gif。
The text was updated successfully, but these errors were encountered: