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

会导致项目anr #14

Open
ybZha opened this issue Jun 5, 2019 · 1 comment
Open

会导致项目anr #14

ybZha opened this issue Jun 5, 2019 · 1 comment

Comments

@ybZha
Copy link

ybZha commented Jun 5, 2019

rencycleview+item里设置了这个圆形图片,项目里的recyleview切换话anr特别卡顿

@ybZha
Copy link
Author

ybZha commented Jun 5, 2019

已解决了 在ondraw方法里加上
paint.reset();
path.reset();// (加上这个就好了)

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

1 participant