For WP8, I am using LongListSelector to display list of items. I need to detect when the user has scrolled to top to load previous items in the list.
I have tried using
event to detect when top element has been realised. There are couple of references where it is used to detect 'scroll to bottom'.
<ul>
<li><a href="http://rahulpnath.wordpress.com/2013/03/03/windows-phone-series-incremental-loading/#comments" rel="nofollow">http://rahulpnath.wordpress.com/2013/03/03/windows-phone-series-incremental-loading/#comments</a></li>
<li><a href="http://code.msdn.microsoft.com/wpapps/TwitterSearch-Windows-b7fc4e5e" rel="nofollow">http://code.msdn.microsoft.com/wpapps/TwitterSearch-Windows-b7fc4e5e</a></li>
</ul>
But this event gets fired for top element even when that user hasn't yet scrolled to that item. So, that doesn't for me to detect 'scrolling to top'.
Is there any way to detect this?
I have tried using
Code:
ItemRealized
<ul>
<li><a href="http://rahulpnath.wordpress.com/2013/03/03/windows-phone-series-incremental-loading/#comments" rel="nofollow">http://rahulpnath.wordpress.com/2013/03/03/windows-phone-series-incremental-loading/#comments</a></li>
<li><a href="http://code.msdn.microsoft.com/wpapps/TwitterSearch-Windows-b7fc4e5e" rel="nofollow">http://code.msdn.microsoft.com/wpapps/TwitterSearch-Windows-b7fc4e5e</a></li>
</ul>
But this event gets fired for top element even when that user hasn't yet scrolled to that item. So, that doesn't for me to detect 'scrolling to top'.
Is there any way to detect this?