ListViewBase.LoadMoreItemsAsync throws exception
-
Tuesday, May 15, 2012 1:36 AM
ListViewBase.LoadMoreItemsAsync throws exception saying 'The method or operation is not implemented'.
I have a GridView and data is bound to virtualized vector returned from FIF.GetVirtualizedFilesVector, when user click individual item, FlilpView is loaded. Data source for the flipview is attached to ObservableCollection<MyObject>(), MyObject is a wrapper of the FileInformation which is bind to individual item of FlipView.
When user reaches nth object (before the last object of current IVectorView), ListViewBase.LoadMoreItemsAsync is called and adding new items in the list.
But LoadMoreItemsAsync throws exception. Any idea why?
- Edited by Snekethan Tuesday, May 15, 2012 1:36 AM
All Replies
-
Tuesday, May 15, 2012 7:00 PMModerator
This is a bug that will likely not be fixed. The scenario of incrementally loading items programmatically can be achieved by calling ICollectionView.LoadMoreItemsAsync or ISupportIncrementalLoading.LoadMoreItemsAsync.Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.- Proposed As Answer by Matt SmallMicrosoft Employee, Moderator Tuesday, May 15, 2012 7:00 PM
- Marked As Answer by Min ZhuMicrosoft Contingent Staff, Moderator Thursday, May 24, 2012 9:53 AM
-
Tuesday, May 15, 2012 7:11 PMThis is probably because the object returned from GetVirtualizedFilesVector doesn't support ISupportIncrementalLoading
-
Tuesday, May 15, 2012 8:42 PM
Is there any workaround?
- Edited by Snekethan Tuesday, May 15, 2012 8:42 PM
-
Wednesday, May 16, 2012 1:35 PMModeratorPlease see my post above.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.


