0

override fun onDraw(canvas:Canvas){
    if (needToDrawAnimation){
        drawNextScene(canvas)
        postInvalidateDelayed(1000)
    }
}

|

1

1

|