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

Avoid object allocations during draw/layout operations #28

Closed
wants to merge 1 commit into from
Closed

Avoid object allocations during draw/layout operations #28

wants to merge 1 commit into from

Conversation

hong4rc
Copy link

@hong4rc hong4rc commented Jul 29, 2017

onDraw() method is called by OS many-many times, thus allocating something within this function is extremely bad idea.

@austinkettner
Copy link
Member

Closing in favor of #33

Thanks for submitting this @hongarc we really appreciate it, despite it taking over a year to follow up about this! =P

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.

2 participants