-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Add incremental loading support for ItemsRepeater #374
Comments
@DL444, are there layout(s) you already have in mind with which you'd want to use incremental loading? An alternative to ISupportIncrementalLoading on which I'd be interested to hear your feedback would be to observe the position of the ScrollViewer's viewport and load more data in your items source as the viewport approaches the extent. With ListView/GridView that would have been hard to do. They didn't make their internal ScrollViewer readily accessible. With ItemsRepeater having no control template you're forced to provide your own ScrollViewer. Depending on your perspective that may be good or bad, but it does make it easy to access and observe the viewport. Your thoughts? |
@micahl It was a custom virtualizing layout that I created, basically the same layout as the |
@micahl Well, I think it's okay to just update the document and close this for now, but I still want this implemented in the future, as the alternative solution:
But the alternative solution does work, and I understand that you might have priorities, so for now I think both is okay. |
Good feedback! I'll add a note to the docs. Let's also keep this proposal open to discuss options and potential requirements for enabling support for incremental loading. |
I've had to make a really custom implementation around |
@chrisahill CAN'T AGREE MORE. |
support incremental loading. @chingucoding |
@HppZ Nothing I can do... |
why or who can? |
First the proposal needs to be added to the backlog of things to be implemented, than there needs to be an API review (probably not gonna be a big one) and while that is happening it can be developed by someone. |
I agree!! |
Proposal: Add incremental loading support for ItemsRepeater
Summary
Add incremental loading support for ItemsRepeater.
Rationale
Currently ItemsRepeater control does not support item sources implementing incremental loading (
ISupportIncrementalLoading
interface). Using such source results in no items being load.However, right now using ItemsRepeater and creating custom VirtualizingLayout is the only way developers can create custom virtualizing ListView-like UI.
ListView and GridView support incremental loading only when using the two built-in VirtualizingPanel, and there is no way to create custom ones. That means developers must sacrifice either incremental loading or layout flexibility.
If ItemsRepeater control could support incremental loading, the problem would be solved.
Functional Requirements
Important Notes
Open Questions
The text was updated successfully, but these errors were encountered: