Hello,
I am working on creating a list view using collections, but I am facing some unexpected behavior when trying to load/fetch more data from my web service.
My list view is set so that I can load more results from my web service when I reach the bottom of the list, using loadMoreOnScroll policy and virtual collection.
The data fetched from the backend is correct and it is correctly added to the list; however, right after downloading and adding the data to the list, the list scrolls back to whatever contact was selected before loading the data.
For example, if the second record of my list is selected, as soon as I reach the bottom of my list and download the new set of data, the list scrolls back to where the second record is located, instead of continuing where it started downloading the new data.
Any suggestion why is that happening?
Thank you,
Luiz