I'm having trouble making a list view NOT jumping to the top of the list every time new items get appended.
We have a list view connected to a data control which, in turn, is backed by a Java bean. The bean fetches more data from server and appends those to the existing ones. (a "load more from server" machanism) Then we fire a ProviderChangeSupport.fireProviderRefresh() to refresh the binded list view. The problem is: this will refresh the entire list and the scroll position will be reset to the top. The user have to manually scroll far away down to see the newly appended data.
If we don't use fireProviderRefresh(), the alternatives (fireProviderChange() and fireProviderCreate()) seem to be dealing with single row additions. Fire these events in a loop to append new items sounds like a poor performance choice.
Is there a way to append new items to the list view while keeping the old items and scroll position intact?