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

invalidate in onDraw #6

Open
Shusshu opened this issue Aug 4, 2015 · 1 comment
Open

invalidate in onDraw #6

Shusshu opened this issue Aug 4, 2015 · 1 comment

Comments

@Shusshu
Copy link

Shusshu commented Aug 4, 2015

I'm not sure but I think you shouldn't have an invalidate in onDraw as invalidate triggers the onDraw

https://github.com/glomadrian/material-code-input/blob/master/codeinputlib/src/main/java/com/github/glomadrian/codeinputlib/CodeInput.java#L269

@Shusshu
Copy link
Author

Shusshu commented Aug 4, 2015

You should put the invalidate() in the ValueAnimator onAnimationUpdate

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