SegmentedControl
SegmentedControl copied to clipboard
Object reference not set to an instance of an object | Disposing SegmentedControl
Hi, Thanks for this controls. When I navigate back from the page (where segmented control is used) the app crashes.
Object reference not set to an instance of an object
at SegmentedControl.FormsPlugin.iOS.SegmentedControlRenderer.OnElementChanged (Xamarin.Forms.Platform.iOS.ElementChangedEventArgs1[TElement] e) [0x00054] in <a904f3d9817940eda6003be744c323cd>:0 at Xamarin.Forms.Platform.iOS.VisualElementRenderer
1[TElement].SetElement (TElement element) [0x00172] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:296
at Xamarin.Forms.Platform.iOS.VisualElementRenderer1[TElement].Dispose (System.Boolean disposing) [0x0008c] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:385 at Xamarin.Forms.Platform.iOS.ViewRenderer
2[TView,TNativeView].Dispose (System.Boolean disposing) [0x0005c] in D:\a\1\s\Xamarin.Forms.Platform.iOS\ViewRenderer.cs:124
at SegmentedControl.FormsPlugin.iOS.SegmentedControlRenderer.Dispose (System.Boolean disposing) [0x00032] in