redrawing a custom view every frame

22 hours ago 3
ARTICLE AD BOX

after some time my app starts, the console gets filled with warnings that say
RenderInspector [W] QueueBuffer time out on <activity name>, count=<num>, avg=<num> ms, max=<num> ms.

it seems to be related to onDraw() in my custom view where i'm trying to make it redraw itself each frame (even when the function only has invalidate() in it)

override fun onDraw(canvas: Canvas) { invalidate() }

so my question is how does one redraw a view each frame properly

Read Entire Article