I have a listview (SfListView version: 220.127.116.11) bound to a list of objects. In order to improve binding performance I added x:DataType to the item DataTemplate but this causes the app to crash with the following exception:
GPGnana Priya Namasivayam Syncfusion Team March 1, 2019 07:36 PM
Thanks for using Syncfusion support.
Can you please explain the how you are trying to implement ItemTemplate with x:DataType in your application and share your xaml code by explaining the use case of your application in detail. We are not clear with your query , can you please share some more details along with Xamarin forms version so that we can able to analyze the issue better at our end.
I want to use Compiled Bindings in order to improve binding performance so I add x:DataType but it causes crash at runtime
SRSangeetha Raju Syncfusion Team March 4, 2019 08:37 AM
we are analyzing your queries. We will check and let you know the details in
three business days (March 7, 2019). We will
appreciate your patience until then.
GPGnana Priya Namasivayam Syncfusion Team March 7, 2019 10:38 PM
We have checked the reported query from our side. We have prepared the sample based on your requirement by adding x:datatype as model to the ItemTemplate and based on that binded ItemsSource property added as static in ViewModel.cs which works fine and SfListView loaded properly. We attached the sample for your reference, please find the sample from following.