Listview binded to ObservableCollection shows data correctly but when selecting item OnItemTapped event crashes app. I added break to event handler but it is never reach.
Here is the datasource
public ObservableCollection
{
get { return zoneCompinedInfos; }
set
{
zoneCompinedInfos = value;
this.OnPropertyChanged();
}
}
And here is how i fill it when data is updated.
ZoneCompinedInfos = new ObservableCollection
Of course I cannot show alldata due it is our app but this should give some idea?
App shows View dispalying details about selected item
App crashes before hitting event handler break point.
Thanks for your report! Might I trouble you to maybe provide a few more things:
I see you only stated Android do you also have any other platforms in there? Are they working as they should?
I can try to make some kind of mock up app. Quite busy at the moment.
I will update nuget later today and see if I can get the error report. It was long! Something related to Fatal signal 11 (SIGSEGV).
We are only using Android at the moment so now knowledge from other platforms.
I attached the error from visual studio Debug window. Quite impressive :-)
I see! Unfortunately the cause is still not very clear from this logs. If at all possible we would still like to receive a reproduction so we can investigate what exactly is going on.
I made simple testapp that has just listview that is tied to ObservableCollection
A SIGSEGV is a crash from the Xamarin.Android/Mono runtime.
Nothing in Xamarin.Forms can cause this. When Xamarin.Android (Forms) fail you will have a JavaException, this is not the case here so the problem is not from your code neither in the Xamarin.Android Framework. The issue is a regression in the runtime layer.
The only thing that you can do, is openning an issue in the Xamarin.Android repository and join your crahs log.
Ok. Copied this there and attached error log. Should I now close this one? Have not used this so often.
Yes, you can close it here.
Issue moved to Xamarin.Android repository, issue #3198.