-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 Android ListView header / footer gone (#12312) #13712
Fix Android ListView header / footer gone (#12312) #13712
Conversation
Fix incorrect layout value cause header / footer in ListView on Android gone missing / disappear when scrolling.
Hey there @ooikengsiang! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can't possibly work. And testing it against the original repro project, it doesn't work.
src/Controls/src/Core/Compatibility/Handlers/ListView/Android/ListViewRenderer.cs
Outdated
Show resolved
Hide resolved
Fix OnLayout calculation that caused header / footer gone missing.
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new code looks fine, but I'm wondering if it's safe to remove the null check.
src/Controls/src/Core/Compatibility/Handlers/ListView/Android/ListViewRenderer.cs
Show resolved
Hide resolved
Add back removed null check
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Adding backport/suggested label on this one. Had been requested by a customer. |
/backport to net7.0 |
Started backporting to net7.0: https://github.com/dotnet/maui/actions/runs/4501869700 |
Is this Possibly fixed with surety? I am still having issue with Header and footer being miscalculated at scroll? :( I can provide the required Sample, if needed. |
Description of Change
Fix incorrect layout value cause header / footer in ListView on Android gone missing / disappear when scrolling.
Issues Fixed
Fixes #12312