[regression/8.0.0-preview.5.8529] [Android] ListView doesn't get rendered #15826
Labels
area-controls-listview
ListView and TableView
delighter
fixed-in-8.0.0-rc.1.9171
Look for this fix in 8.0.0-rc.1.9171
i/regression
This issue described a confirmed regression on a currently supported version
p/1
Work that is important, and has been scheduled for release in this or an upcoming sprint
platform/android 🤖
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
If a ListView is set to IsVisible="False" on initital page load, it doesn't get rendered even if it's set to IsVisible="true" later.
Example:
App starts with first ListView visible:
![image](https://private-user-images.githubusercontent.com/81682730/248278599-0de8e57f-6476-41cc-b89f-9568abf7b1b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5OTE5ODUsIm5iZiI6MTcyNTk5MTY4NSwicGF0aCI6Ii84MTY4MjczMC8yNDgyNzg1OTktMGRlOGU1N2YtNjQ3Ni00MWNjLWI4OWYtOTU2OGFiZjdiMWI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDE4MDgwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTljZGI5MWRkYWFjYWU5OTJiNzlkZjlmNDJjMjYwNGNkMTNlMGEzMDgxNzcxODA2M2VkOTU0MTdmMDZmMTlmYzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nwdNoXsPeD0l6VncrJLv2d7wEXmRByysFrLbYs6EbQU)
On "Swap List", List 1 is set to invisible, List 2 is set to visible:
![image](https://private-user-images.githubusercontent.com/81682730/248279328-238e6b54-1285-4105-a983-e0a20c8b16d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5OTE5ODUsIm5iZiI6MTcyNTk5MTY4NSwicGF0aCI6Ii84MTY4MjczMC8yNDgyNzkzMjgtMjM4ZTZiNTQtMTI4NS00MTA1LWE5ODMtZTBhMjBjOGIxNmQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDE4MDgwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNjMGU0MTkwYWQzMWI2NzJmODdkZWIwMTEzOWI0Mjg4MWY1ODliNDM3MjBjNjE2MDllMTVlMDhlN2MzYzIwYWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.b6Cv3qTQXU20xJsURivR1xgdmifEyeJ6mA0SQfCnDvk)
Was working on .Net 7, not anymore on .Net 8 preview.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/stefanpirkl/bugreport-maui-android-listview-not-rendered
Version with bug
8.0.0-preview.5.8529
Last version that worked well
7.0.86
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
Android 13
Did you find any workaround?
Setting both Lists to IsVisible="true" on initial load.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: