O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

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

Sample Twitter Timeline Viewer

The principle example for this chapter is a Twitter timeline viewer that downloads the tweets of a specified Twitter user, caches them in a local database, and displays them on a page. The code for this example is located in the DataDrivenApps/TwitterExample directory of the WPUnleashed.Examples project.

The Twitter timeline viewer has a simple data model consisting of two entities representing a Twitter user and a tweet or TimelineItem (see Figure 29.3), and it demonstrates using a local database to cache cloud data.

Image

FIGURE 29.3 A TwitterUser has many TimelineItems.

TimelineItem represents a status update (tweet) ...

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