O'Reilly logo

Seven Mobile Apps in Seven Weeks by Tony Hillerson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required