I am not sure when things broke but this was previously working for me. Even though I have asked for DoubleTap recognition, any tap (single or double) causes the crash
Also, the same code works as expected on Android. I have set the SfListView as follows in regards to this problem.
SelectionMode = SelectionMode.Single;
SelectionGesture = TouchGesture.DoubleTap;
SelectionChanged += OnSelectionChanged;
I am running
Syncfusion.Xamarin.SfListView 15.1.0.41
Xamarin,Forms 2.3.4.231
Apple Developer Tools
Xcode 8.2.1 (11766.1)
Build 8C1002
Xamarin.iOS
Version: 10.8.0.175 (Xamarin Studio Community)
Hash: a04678c2
Branch: d15-1
Build date: 2017-03-28 14:05:38-0400
Xamarin Studio Community
Version 6.3 (build 863)
Installation UUID: a4029b53-f67a-4d5f-aba1-58bd0ae9639b
Runtime:
Mono 4.8.1 (mono-4.8.0-branch/22a39d7) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 408010000
and building on a MAC under MacOS 10.11.6
Any one else seeing a problem like this ?
Chris
Stack trace of crash from Xamarin Studio
--------------
System.NullReferenceException: Object reference not set to an instance of an object
at Syncfusion.ListView.XForms.iOS.ItemRenderer.OnTapped (UIKit.UITapGestureRecognizer tapGestureRecognizer) [0x00028] in <77267c74e8094595963ce1124bb337eb>:0
at Syncfusion.ListView.XForms.iOS.ItemRenderer.<OnElementChanged>b__19_0 () [0x00000] in <77267c74e8094595963ce1124bb337eb>:0
at UIKit.UIGestureRecognizer+ParameterlessDispatch.Activated () [0x00000] in /Users/builder/data/lanes/4466/a04678c2/source/xamarin-macios/src/UIKit/UIGestureRecognizer.cs:71
at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/4466/a04678c2/source/xamarin-macios/src/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/4466/a04678c2/source/xamarin-macios/src/UIKit/UIApplication.cs:63
at pfb.iOS.Application.Main (System.String[] args) [0x00000] in /Users/chris/Dropbox/Projects/PicoFermiBagel/pfb/iOS/Main.cs:17