TagView icon indicating copy to clipboard operation
TagView copied to clipboard

Recustion with onDraw

Open mtychyna opened this issue 9 years ago • 0 comments

I don't know why and why there are no such effect on example, but In my test of view, even I do as your app but from empty project I have infinity recursion

    @Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        drawTags();
    }

run drawTags(); which run removeAllViews(); which run invalidate(true); which run onDraw

and again again again

mtychyna avatar Apr 27 '16 06:04 mtychyna