WP 8.1 bottom to top infinite scrolling

前端 未结 1 1906
粉色の甜心
粉色の甜心 2021-01-19 14:09

I have explored ISupportIncrementalLoading and seen MS sample and other examples for infinite scrolling behaviour.

But I want bottom to top scrolling where items a

相关标签:
1条回答
  • 2021-01-19 14:33

    not sure if this will fit your needs, but I had to do something similar when creating a chat conversation screen, and was able to achieve this using ExtendedListView: https://www.nuget.org/packages/ExtendedListView

    We load the most recent items, and use ScrollIntoView(lastMessage) to position the cursor at the bottom. Normally you would use MoreDataRequested event to get items when it scrolls to the bottom, but instead we reversed it and used the PullToRefreshRequested to simulate scrolling to the top, changing the loading template to say "loading more messages".

    works pretty well for us, I hope this is helpful!

    0 讨论(0)
提交回复
热议问题