realm-dotnet: Android Xamarin.Forms setting ListView.SelectedItem = null causes app to hang/crash when using IQueryable as ItemsSource in v1.6.0
I’m attaching a solution which reproduces an issue I’m having since updating to 1.6.0 of Realm.
Basically, on Android, when we have a Xamarin.Forms ListView
and use IQueryable<TRealmObject>
as the ItemsSource
and inside the ListView.ItemSelected
event handler, set the ListView.SelectedItem = null;
it’s causing the app to crash / hang without a usable managed stack trace.
This works fine in v1.5.0 of Realm. It does not seem to affect iOS.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 21 (5 by maintainers)
Here’s the prerelease nugets that address this:
https://drive.google.com/file/d/1GbiaoVcZlTKW47rKyc543VLkahi1flp1/view?usp=sharing https://drive.google.com/file/d/17QB54r_7q1xSJ3C-yi567O_UPyK7vGj1/view?usp=sharing
There will be a fix, but we don’t have timeline yet.