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

Fix cell parenting when using Retain Caching #4636

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

PureWeen
Copy link
Member

Description of Change

When a ListView on Android is given infinite height we have to measure all of the cells in order to display the entire thing. If you don't do this then the ListView will only display the first cell. As part of this measurement it creates every single cell which was causing the cells to parent improperly on subsequent measure calls or during the final layout. This PR optimizes the cell creation so the same parent will just get reused.

This issue was manifesting itself on the RadioButtonGalleries => RadioButton Group Gallery Page

@jsuarezruiz jsuarezruiz added the area-controls-listview ListView and TableView label Feb 14, 2022
@PureWeen PureWeen merged commit 67bc44d into main Feb 14, 2022
@PureWeen PureWeen deleted the fix_multiple_remeasures_on_listview branch February 14, 2022 16:01
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@samhouts samhouts added the fixed-in-6.0.200-preview.14.2 Look for this fix in 6.0.200-preview.14.2! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-listview ListView and TableView fixed-in-6.0.200-preview.14.2 Look for this fix in 6.0.200-preview.14.2!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants