Marketplace App List Sample

The built-in Marketplace app presents apps in a flat list. This example groups a set of mock items using a LongListSelector.

The custom MarketplaceApp class defines an app as having a name, description, image, price, and marketplace category. The marketplace category and its price are used to group a list of randomly generated MarketplaceApp objects. First, the example briefly looks at the MarketplaceApp class and how to generate a list of MarketplaceApp objects; this will increase your understanding as you move further through the example.

MarketplaceApp defines an array of hard-coded categories and prices. The array of category names is called categories, and is defined as follows:

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.