I am developing a Windows Phone 8.1
application where I have a list page with a ton of data items.
So I decided to implement incremental loading on ListBox. And fortunately I got a solution on it from Danial vaugan's Loading Data when the User Scrolls to the End of a List in Windows Phone 7 sample
And it works well with scrolling. But noticed that after 5 or 6 incremental loading, the Scrollviewer offset change is not working. Since then the concept is not working.
Here is my sample of the Daniel Vaughan's sample project where it loads only 79 items. After that the scroll change is not working.
Is there any limitation to ScrollViewer to prevent it's offset from changing after certain value? But I don't think so because I loaded more than 1000 items at once and it smoothly scrolls till the end.
How to resolve this issue?
Atlast found an alternative way to get the solution. Used Longlist Selector
control for incremental list loading. It works as expected.
Reference:
TwitterSearch - Windows Phone 8 LongListSelector Infinite Scrolling Sample