App crash in Release Mode when binding ItemSource in CollectionView #24416
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
platform/android 🤖
potential-regression
This issue described a possible regression on a currently supported version., verification pending
t/bug
Something isn't working
Description
Hello Maui team,
Hello, I am using visual studio 2022 and I have a movie application project that has a search engine and when something is typed it makes a call to an API to return the search results, which I assign to the ItemSource property of the CollectionView.
When I do that process in Release mode the application crashes.
The property that I bind is an ObservableCollection, I have also tried using a ListView but the same thing happens to me.
This is my workload list:
Steps to Reproduce
Create a File > New .Net MAUI App
Add a CollectionView
Set the ItemsSource property of the CollectionView binding in Xaml
Set release mode
Link to public reproduction project repository
https://github.com/GhostDestroyex/MoviesShowApp
Version with bug
Unknown/Other
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 13
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: