Day 2: Trending Up

Or, Building a Better View

Today we’ll work on improving the view. We’ll use the list of quotes we have from the API and display them in a ListView. Then we’ll see how to define styles that we can apply to each of the list items. Then we’ll add a second page to hold the user’s stock watch list and add a pivot control to allow navigation between each page. While we add these other views we’ll also see how to extract a reusable view component for the list of stocks so that we can use it on both pages. Let’s get started by introducing the ListView component.

Working with ListView

A ListView is a component that allows us to display repeating elements on a page. The other platforms have similar components, and Windows works pretty ...

Get Seven Mobile Apps in Seven Weeks 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.