开发者

Load data on visibility LongListSelector

开发者 https://www.devze.com 2023-02-18 17:56 出处:网络
I\'ve noticed on certain list controls in WP7 that the lists will load data as the user scrolls to it. I don\'t know which control this is or if it\'s just a visual thing, but I\'m curious if the data

I've noticed on certain list controls in WP7 that the lists will load data as the user scrolls to it. I don't know which control this is or if it's just a visual thing, but I'm curious if the data is actually loaded at the item is made visible.

开发者_StackOverflow中文版

I'm using a longlistselector with a lot of items in it, and if there is a way to selectively load the data in real time, I'd prefer that. Some examples I've seen are twitter and Zune Marketplace lists. Are these Pivots?


UX virtualization and data virtualization are 2 different things. The first sounds like what you are talking about and is implemented by default when you bind data to a ListBox.

UX virtualization is discussed here

Data virtualization occurs when data is lazy loaded as required and is discussed here.

The LongListSelector is an advanced ListBox so supports UX virtualization. It also supports data virtualization. An article discusses them both here.

0

精彩评论

暂无评论...
验证码 换一张
取 消