Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recustion with onDraw #11

Open
mtychyna opened this issue Apr 27, 2016 · 0 comments
Open

Recustion with onDraw #11

mtychyna opened this issue Apr 27, 2016 · 0 comments

Comments

@mtychyna
Copy link

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

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

No branches or pull requests

1 participant