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

打开页面不动,过一段时间就会出现卡顿,这种现象有周期性,每过一段时间就会有一次卡顿 #1

Open
manmanshiqu opened this issue Dec 5, 2017 · 1 comment

Comments

@manmanshiqu
Copy link

No description provided.

@orangeju0317
Copy link


baiduWave.setCurrentPercent(animation.getAnimatedFraction());
之后 你可能是没有调用
baiduWave.invalidate();
再一个,在onDraw()方法中,避免new对象,都是可以在构造方法中去new的,也能减少频繁的创建、回收对象。

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