material-code-input icon indicating copy to clipboard operation
material-code-input copied to clipboard

invalidate in onDraw

Open Shusshu opened this issue 9 years ago • 1 comments

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 avatar Aug 04 '15 11:08 Shusshu

You should put the invalidate() in the ValueAnimator onAnimationUpdate

Shusshu avatar Aug 04 '15 12:08 Shusshu