Hamittirpan-3199 avatar image
0 Votes"
Hamittirpan-3199 asked NicoZhu-MSFT edited

ListView Xamarin.Forms.Platform.iOS.ContextActionsCell Crash

Hi everyone

I am developing an application with Xamarin.Forms(5.0.02401). I'm having a problem with my iOS project.
It crashes when my screen with lisview in my app is displayed. The reason is "System.TypeInitializationException: 'The type initializer for 'Xamarin.Forms.Platform.iOS.ContextActionsCell' threw an exception.'". If I change ListView's property to CachingStrategy="RetainElement" the problem goes away. But this problem occurred all of a sudden. Normally I have many ListViews in my application and many of them are selected as "RecycleElements". Is there any way to fix this problem?

Thanks in advance

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Hamittirpan-3199 , may I ask your iOS version, and would you mind sharing a basic minimal reproducible sample with me? You could upload it to GitHub and attach the link here.

0 Votes 0 ·

0 Answers