- Home
- Forum
- Xamarin.Forms
- SfListview population too slow
SfListview population too slow
I am populate about 100 hundred rows in SfListview. I also have enable nested scrolling in a Scrollview.
Also i have set ListViewCachingStrategy to ListViewCachingStrategy.
But it makes some seconds to populate my SfListview. Is there any technique which i can speed up my population performance? I will upload a demo for helping you understand better.
Attachment: App1_8473d0c3.rar
SIGN IN To post a reply.
5 Replies
LN
Lakshmi Natarajan
Syncfusion Team
September 8, 2021 12:15 PM UTC
Hi Diogenis,
Thank you for using Syncfusion products.
We have checked the reported query “SfListview population too slow” from our side. We would like to let you know that the loading delay occurs when IsScrollingEnabled is set to False. When IsScrollingEnabled is set to False, the ListView will load all of its items at once. We regret to inform you that as the number of items with IsScrollingEnabled increases, so will the time required to calculate the height of all of the items.
Also, you can refer to the following documentation to improve the ListView performance,
UG link: https://help.syncfusion.com/xamarin/listview/working-with-sflistview#improving-listview-performance
Please let us know if you need further assistance.
Regards,
Lakshmi Natarajan
DC
Diogenis Christoforidis
September 8, 2021 12:44 PM UTC
Thank you very much. I already tried it but i didn't saw any big performance difference. Could you please give me an example according to my uploaded project?
LN
Lakshmi Natarajan
Syncfusion Team
September 9, 2021 12:36 PM UTC
Hi Diogenis,
Sorry for the inconvenience caused.
As we have mentioned in our previous update, when IsScrollingEnabled is set to False, the ListView will load all of its items at once. Also, the number of items with IsScrollingEnabled increases, so will the time required to calculate the height of all of the items. We have prepared a sample using binding which slightly improves the loading time and attached in the following link.
Please let us know if you need further assistance.
Lakshmi Natarajan
Thank you very much Lakshmi Natarajan !!!!
LN
Lakshmi Natarajan
Syncfusion Team
September 10, 2021 08:04 AM UTC
Hi Diogenis,
Thank you for the update.
Please let us know if you need any further assistance. As always, we are happy to help you out.
Lakshmi Natarajan
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
DC Diogenis Christoforidis
- Sep 7, 2021 01:12 PM UTC
- Sep 10, 2021 08:04 AM UTC