Skip to content

Conversation

BharathKSunil
Copy link

Changes:

  • Incremented gradle version.
  • Moving core library to kotlin
  • Replaced calling invalidate immediately. Why?
protected void dispatchDraw(Canvas canvas) {
...
if (mIsRunning) {
                invalidate();
            }
}

with

override fun dispatchDraw(canvas: Canvas) {
...
if (isRunning) {
                ViewCompat.postInvalidateOnAnimation(this)
            }
}

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

Successfully merging this pull request may close these issues.

1 participant