"ObjectDisposedException" When Toggling Header/Footer in CollectionView Dynamically #25724
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
fixed-in-9.0.21
partner/syncfusion
Issues / PR's with Syncfusion collaboration
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When dynamically toggling the header or footer in a CollectionView by setting it to null and then re-assigning it, a System.ObjectDisposedException occurs. The exception message indicates that a disposed object.
"Make sure that in the MauiProgram file, the CollectionView2 handlers are not registered or used."
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.92 SR9.2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: