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

Experimental: Wrapper to cache the bounding box of a view #10

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bugadani
Copy link
Owner

@bugadani bugadani commented Jul 8, 2020

Automatically use the cache wrapper in LinearLayout, since it measures views multiple times during arrange.

@bugadani
Copy link
Owner Author

bugadani commented Jul 8, 2020

This would be really nice but in this form it's suboptimal. I'm not sure if it's possible to only cache bounds where necessary (mainly for Text) without specialization

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.

1 participant