如何检测列表视图滚动结束以获取更多记录 [英] How to detect list view scroll end to fetch more records
问题描述
大家好,
我在c#中编写Windows应用商店和phoe应用程序
I am writing windows store app and phoe app in c#
我们有便携式类库,有comman商店和手机应用程序的逻辑。
We have portable class library which have comman logic for both store and phone app.
在商店应用程序中,我们有列表视图。要在列表视图中获取更多记录,我们不希望实施 ISupportIncrementalLoading 类,因为它在可移植类库中不可用
。是否有任何方法可以检测列表视图的滚动结束并获取更多记录
In store app we have list view. to fetch more records in list view we don't want to implement ISupportIncrementalLoading class, as it is not available in portable class library. Is there any way so that I can detect scroll end of list view and fetch more records
提前致谢
NarenExt
推荐答案
不合理。 ISupportIncrementalLoading完全是为此目的而设计的。你可以让你的ISupportIncrementalLoading处理程序调用你的PCL来获取数据。
Not reasonably. ISupportIncrementalLoading is designed exactly for that purpose. You could have your ISupportIncrementalLoading handler call into your PCL to fetch the data.
- Rob
这篇关于如何检测列表视图滚动结束以获取更多记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!