简体   繁体   中英

WP8 LongListSelector popluating list

I've been trying to implement LongListSelector and I've been unable to find any good WP8 tutorial.

The best thing I've found is WP7tutorial . I've followed the tutorial till step 21, but my result isn't the same. I've ended up creating a list which only show categories in white text. which means it doesn't even uses the header template.

update: MSDN has a tutorial, but I think its way to advance for me since I'm also new to C#.

update2: I've figured out about why header template was not being displayed because "isGroupingEnabled" is disabled by default. 在属性窗格中启用分组 .

Now groups are properly shown but not the items in groups 结果UI

Take a look at this article "PhotoHub - Windows Phone 8 XAML LongListSelector Grid Layout sample" :

http://code.msdn.microsoft.com/wpapps/PhotoHub-Windows-Phone-8-fd7a1093

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM