Interacting with a RightSwipeTemplate causes the app to crash using Xamarin Forms 4.7.0.968 and SFListView 18.1.0.59 or earlier. See provided sample project for reproduction and the stack trace below.
Unhandled Exception:System.NullReferenceException: Object reference not set to an instance of an object at Xamarin.Forms.Platform.iOS.VisualElementTracker.UpdateClip () [0x00072] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:413 at Xamarin.Forms.Platform.iOS.VisualElementTracker.UpdateNativeControl () [0x0006c] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:386 at Xamarin.Forms.Platform.iOS.VisualElementTracker.HandlePropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x00064] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:97 at (wrapper delegate-invoke) .invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs) at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:229 at Xamarin.Forms.Element.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:353 at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) [0x00114] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:461 at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) [0x00173] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:397 at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value, System.Boolean fromStyle, System.Boolean checkAccess) [0x00042] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:334 at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindablePropertyKey propertyKey, System.Object value) [0x0000e] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:318 at Xamarin.Forms.VisualElement.set_X (System.Double value) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:463 at Xamarin.Forms.VisualElement.set_Bounds (Xamarin.Forms.Rectangle value) [0x00043] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:314 at Xamarin.Forms.VisualElement.Layout (Xamarin.Forms.Rectangle bounds) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:708 at Syncfusion.ListView.XForms.LayoutBase.LayoutSwipedItem (Syncfusion.ListView.XForms.ListViewItem item, System.Boolean canAnimateReset, System.Boolean canAnimateLayout) [0x001c5] in :0 at Syncfusion.ListView.XForms.SwipeController.LayoutSwipeView (Syncfusion.ListView.XForms.ListViewItemInfoBase itemInfo, System.Boolean canAnimate) [0x00011] in :0 at Syncfusion.ListView.XForms.SwipeController.ProcessTouchMove (Syncfusion.ListView.XForms.ListViewItemInfoBase itemInfo, Xamarin.Forms.Point point) [0x0022d] in :0 at Syncfusion.ListView.XForms.SwipeController.HandleTouchInteractions (Syncfusion.ListView.XForms.ListViewItemInfoBase itemInfo, Xamarin.Forms.GestureStatus status, Xamarin.Forms.Point point) [0x00068] in :0 at Syncfusion.ListView.XForms.iOS.ListViewItemRenderer.OnPanChanged (UIKit.UIPanGestureRecognizer panGesture) [0x000e3] in <7a0580e694104b8baf418769cd848bf0>:0 at UIKit.UIPanGestureRecognizer+Callback.Activated (UIKit.UIPanGestureRecognizer sender) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.2.1/src/Xamarin.iOS/UIKit/UIGestureRecognizer.cs:247--- End of stack trace from previous location where exception was thrown ---
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 /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.2.1/src/Xamarin.iOS/UIKit/UIApplication.cs:86 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.2.1/src/Xamarin.iOS/UIKit/UIApplication.cs:65 at SfTest.iOS.Application.Main (System.String[] args) [0x00001] in /Users/jansf16/Projects/SfTest/SfTest.iOS/Main.cs:172020-06-30 15:47:09.987287+0200 SfTest.iOS[7150:375502] Unhandled managed exception: Object reference not set to an instance of an object (System.NullReferenceException) at Xamarin.Forms.Platform.iOS.VisualElementTracker.UpdateClip () [0x00072] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:413 at Xamarin.Forms.Platform.iOS.VisualElementTracker.UpdateNativeControl () [0x0006c] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:386 at Xamarin.Forms.Platform.iOS.VisualElementTracker.HandlePropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x00064] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:97 at (wrapper delegate-invoke) .invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs) at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:229 at Xamarin.Forms.Element.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:353 at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) [0x00114] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:461 at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) [0x00173] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:397 at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value, System.Boolean fromStyle, System.Boolean checkAccess) [0x00042] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:334 at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindablePropertyKey propertyKey, System.Object value) [0x0000e] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:318 at Xamarin.Forms.VisualElement.set_X (System.Double value) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:463 at Xamarin.Forms.VisualElement.set_Bounds (Xamarin.Forms.Rectangle value) [0x00043] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:314 at Xamarin.Forms.VisualElement.Layout (Xamarin.Forms.Rectangle bounds) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:708 at Syncfusion.ListView.XForms.LayoutBase.LayoutSwipedItem (Syncfusion.ListView.XForms.ListViewItem item, System.Boolean canAnimateReset, System.Boolean canAnimateLayout) [0x001c5] in :0 at Syncfusion.ListView.XForms.SwipeController.LayoutSwipeView (Syncfusion.ListView.XForms.ListViewItemInfoBase itemInfo, System.Boolean canAnimate) [0x00011] in :0 at Syncfusion.ListView.XForms.SwipeController.ProcessTouchMove (Syncfusion.ListView.XForms.ListViewItemInfoBase itemInfo, Xamarin.Forms.Point point) [0x0022d] in :0 at Syncfusion.ListView.XForms.SwipeController.HandleTouchInteractions (Syncfusion.ListView.XForms.ListViewItemInfoBase itemInfo, Xamarin.Forms.GestureStatus status, Xamarin.Forms.Point point) [0x00068] in :0 at Syncfusion.ListView.XForms.iOS.ListViewItemRenderer.OnPanChanged (UIKit.UIPanGestureRecognizer panGesture) [0x000e3] in <7a0580e694104b8baf418769cd848bf0>:0 at UIKit.UIPanGestureRecognizer+Callback.Activated (UIKit.UIPanGestureRecognizer sender) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.2.1/src/Xamarin.iOS/UIKit/UIGestureRecognizer.cs:247--- End of stack trace from previous location where exception was thrown ---
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 /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.2.1/src/Xamarin.iOS/UIKit/UIApplication.cs:86 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.2.1/src/Xamarin.iOS/UIKit/UIApplication.cs:65 at SfTest.iOS.Application.Main (System.String[] args) [0x00001] in /Users/jansf16/Projects/SfTest/SfTest.iOS/Main.cs:17