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

[Android] Fix usage of SimpleViewHolder on COllectionView Header and Footer #6682

Merged
merged 3 commits into from
May 3, 2022

Conversation

rmarinho
Copy link
Member

Description of Change

Our previous implementation on Forms was creating always a new native element before adding it to SimpleViewHolder, but now we reuse the handler so we need to remove it first from the old ItemContentView before adding it to our new ItemContentView

Issues Fixed

Fixes #5332

@rmarinho rmarinho changed the title [Android] Fix usage of SimpleViewHolder on Header and Footer [Android] Fix usage of SimpleViewHolder on COllectionView Header and Footer Apr 29, 2022
@Eilon Eilon added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Apr 29, 2022
@rmarinho rmarinho requested review from PureWeen and hartez May 2, 2022 08:57
@@ -26,6 +26,8 @@ internal void RealizeContent(View view, ItemsView itemsView)
{
Content = CreateHandler(view, itemsView);
var platformView = Content.ContainerView ?? Content.PlatformView;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be ToPlatform()?

@rmarinho rmarinho merged commit 1dfac8d into main May 3, 2022
@rmarinho rmarinho deleted the fix-5332 branch May 3, 2022 14:41
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@samhouts samhouts added the fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3!
Projects
None yet
7 participants