Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Android CarouselViewRenderer should call base UpdateItemsSource and UpdateAdapter #15266

Merged

Conversation

danielcaceresm
Copy link
Contributor

Description of Change

Android CarouselViewRenderer should call base UpdateItemsSource and UpdateAdapter to reset scroll listener and observers

Issues Resolved

API Changes

None

Platforms Affected

  • Android

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@GalaxiaGuy
Copy link
Contributor

This appears to fix the issue demonstrated in #15250, and potentially some other Android carousel view bugs.

At least:

#15231
#15082

@jfversluis
Copy link
Member

Would you be able to pull in the latest changes I just merged or rebase? That will make sure the build runs again. Thank you so much for this contribution!

@danielcaceresm danielcaceresm force-pushed the carousel-android-itemssource-scroll branch from 6956fb2 to 49107ea Compare March 30, 2022 09:14
@jfversluis
Copy link
Member

jfversluis commented Mar 30, 2022

/azp run

@azure-pipelines

This comment was marked as outdated.

@GalaxiaGuy
Copy link
Contributor

@jfversluis
Copy link
Member

@GalaxiaGuy we haven't even confirmed this is working for Forms as you said you didn't run it yet so let's make sure that we fix it here first and then look at porting it to .NET MAUI :)

@GalaxiaGuy
Copy link
Contributor

Sorry for the confusion. This works for me on Android, I haven't tried running Maui.

@azure-pipelines

This comment was marked as off-topic.

…pdateAdapter to reset scroll listener and observers
@jfversluis jfversluis force-pushed the carousel-android-itemssource-scroll branch from c3b3aa0 to 1ad01f9 Compare April 8, 2022 18:23
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@GalaxiaGuy
Copy link
Contributor

Is there any update on this and when it may be merged?

@jfversluis
Copy link
Member

My intention is to merge this before the next release!

@gil-rodrigues
Copy link

gil-rodrigues commented Jun 1, 2022

Hey @jfversluis

My apologies if this is a dumb question. When do you plan on releasing a xamarin forms update with this issue fixed? Is there any way that I can test?

Thank you

@gil-rodrigues
Copy link

Hey, any news on the release date?
Thank you

@jfversluis
Copy link
Member

This has already been released in version 5.0.0.2478 11 days ago.

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] CarouselView on Android crashes when ItemsSource is updated while scrolling
5 participants