Skip to content

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

Draft
bugadani wants to merge 1 commit into
masterfrom
feature/bounds-cache
Draft

Experimental: Wrapper to cache the bounding box of a view#10
bugadani wants to merge 1 commit into
masterfrom
feature/bounds-cache

Conversation

@bugadani

@bugadani bugadani commented Jul 8, 2020

Copy link
Copy Markdown
Owner

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

@bugadani

bugadani commented Jul 8, 2020

Copy link
Copy Markdown
Owner Author

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