locked
How i can paginate a List in Xamarin forms? RRS feed

  • Question

  • User392302 posted

    Hi everyone the problem is i have a lot of data in a list view in a page and it make that the aplication load slowsly the list view my question is how i can paginate the list view in the page ?

    Monday, June 22, 2020 2:42 AM

All replies

  • User379860 posted

    If you want to paginate a listview, you must make a custom renderer for three platforms and it hard to say if could load the listview accelerately. However, you can set RecycleElement for your CachingStrategy in Listview. The RecycleElement caching strategy specifies that the ListView will attempt to minimize its memory footprint and execution speed by recycling list cells, Here is realted article: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/listview/performance#recycleelement

    Monday, June 22, 2020 7:52 AM