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 Android ListView header / footer gone (#12312) #13712

Merged

Conversation

ooikengsiang
Copy link
Contributor

Description of Change

Fix incorrect layout value cause header / footer in ListView on Android gone missing / disappear when scrolling.

Issues Fixed

Fixes #12312

Fix incorrect layout value cause header / footer in ListView on Android gone missing / disappear when scrolling.
@ghost ghost added the community ✨ Community Contribution label Mar 6, 2023
@ghost
Copy link

ghost commented Mar 6, 2023

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.

@rmarinho
Copy link
Member

rmarinho commented Mar 6, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@rmarinho rmarinho requested a review from hartez March 6, 2023 11:25
@Eilon Eilon added the area-controls-listview ListView and TableView label Mar 6, 2023
Copy link
Contributor

@hartez hartez left a 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.

Fix OnLayout calculation that caused header / footer gone missing.
@hartez
Copy link
Contributor

hartez commented Mar 14, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Contributor

@hartez hartez left a 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.

Add back removed null check
@hartez
Copy link
Contributor

hartez commented Mar 16, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@hartez hartez enabled auto-merge (squash) March 16, 2023 18:36
@hartez hartez merged commit d998d00 into dotnet:main Mar 16, 2023
@jfversluis jfversluis added the backport/suggested The PR author or issue review has suggested that the change should be backported. label Mar 20, 2023
@jfversluis
Copy link
Member

Adding backport/suggested label on this one. Had been requested by a customer.

@PureWeen
Copy link
Member

/backport to net7.0

@PureWeen PureWeen added the backport/approved After some discussion or review, this PR or change was approved to be backported. label Mar 23, 2023
@github-actions
Copy link
Contributor

Started backporting to net7.0: https://github.com/dotnet/maui/actions/runs/4501869700

@taranveerjohal
Copy link

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.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-listview ListView and TableView backport/approved After some discussion or review, this PR or change was approved to be backported. backport/suggested The PR author or issue review has suggested that the change should be backported. community ✨ Community Contribution platform/android 🤖
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Listview Header content disappears while scrolling
8 participants