Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Scroll position after loadMoreOnScroll

Luiz BAug 6 2019 — edited Aug 21 2019

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

Comments
Post Details
Added on Aug 6 2019
12 comments
534 views