SfListView - Infinite scrolling

Hello,
I am trying to build an infinite scrolling list that will load additional blocks of data when a user has scrolled to or near the current end of the list. I also am trying to do this using a mvvm pattern. I should be able to write my own behavior to allow for this but I'll need to use something like the ItemAppearing event from a standard ListView, to check for how far the user has scrolled to. Is their an equivalent event for a SfListView or any other ways that I might be able to create a list with this functionality?
Thanks,
Kurt

1 Reply

MK Muthu Kumaran Gnanavinayagam Syncfusion Team November 10, 2017 09:04 AM UTC

Hi Kurt, 
 
Thank you for contacting Syncfusion support. 
 
We are glad to let you know that “Support for LoadMore items in SfListView” has been implemented and it will be included in our upcoming 2017 Volume 4 main release which is scheduled to be rolled out by the mid of November. However, you can achieve your requirement using a work around in sample level using Changed event of ScrollAxisBase in VisualContainer and we have already published the KB documentation for the same. Please refer the below KB link to know about loading items on demand while reaching the end of the list. 
 
 
For your reference we have modified our sample to achieve your requirement using Behaviors for SfListView in MVVM pattern and you can download it from the below location. 
 
 
Please let us know if you require further assistance. 
 
Regards, 
G.Muthu Kumaran. 


Loader.
Up arrow icon