Skip to content

[Perf] [Android][Skia] ListView re-layouted multiple times #12081

@dr1rrb

Description

@dr1rrb

Current behavior

When running the sample ListView_Expandable_Item, on android, checking one of the CheckBox causes the ListView to be re-measured multiple times, driving all items to be detached and re-attached from their parent up to 23 times ...

Expected behavior

Size caching / limited scope invalidation should prevent any re-measure/layouting of the ListView itself.

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/listview 📃Categorizes an issue or PR as relevant to the ListView controlarea/performance 📈Categorizes an issue or PR as relevant to performancearea/skia ✏️Categorizes an issue or PR as relevant to Skiahas-repro-branchlow-hanging-🍒Categorizes an issue that might be a quick win with meaningful positive impact.platform/android 🤖Categorizes an issue or PR as relevant to the Android platformproject/items 🧾Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)project/layout 🧱Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)triage/potentially-fixedCategorizes an issue as potentially fixed by some unlinked PR, fix needs to be verified

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions