ListView load a lot of data

1 Answer 489 Views
ListView
ward
Top achievements
Rank 1
ward asked on 27 Sep 2022, 09:45 AM

  When the listview loads hundreds of pieces of data, the page slide will be stuck. Is there any way to alleviate it, 

  or implement listview paging?

 

1 Answer, 1 is accepted

Sort by
0
Antoan
Telerik team
answered on 30 Sep 2022, 09:45 AM

Hello Ward,

From the explanation it seems that the you are loading all the data at ones and thus the UI thread is blocked and the app hangs. You can load the data asynchronously and use the ListView load on demand feature. For more information and example of the feature please follow the link leading to our documentation: https://docs.telerik.com/devtools/maui/controls/listview/load-on-demand 

I recommend loading 50 items at a time.

Let me know if this works for you.

 

Regards,
Antoan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ward
Top achievements
Rank 1
commented on 30 Sep 2022, 09:47 AM

Ok,I will read this document,thank u very much.
Antoan
Telerik team
commented on 30 Sep 2022, 01:45 PM

Hello Ward,

Please take your time and let me know if there is anything I can help you with.

Regards,

Antoan

Tags
ListView
Asked by
ward
Top achievements
Rank 1
Answers by
Antoan
Telerik team
Share this question
or