We are using Xamarin forms version 2.5.1, In our app, we are using list view for displaying tabular data for that I am using view cells inside data template.
My view cell consists of grid layout that contains 40-45 columns and to display data on the UI I am using 40-45 labels per row.
The issue that I am facing currently is that when I have large data say 2000 records, so when the user scrolls it takes time to render new records to UI that is first black screen comes and then slowly data gets populated to different rows of list view.
Also, memory consumption increases on scrolling up and down the list view. I have also used the Listview Cached strategy to Recycle element but still no improvement. On profiling, I found that new instances of labels keep on getting created which leads to more rendering time and high memory consumption. So how can we optimize the performance of list view so that it works well with large data. Our target platform is Windows 10 UWP and IOS