10-152-383 - Mobile Programming 1

2.4 Project

Android Multi-Level List Viewer

In this project, you'll use what we've learned about ListViews and adapters in Android to build an app that presents hierarchical data. As you'll see from the examples, this is a common pattern.

Data Requirements

You'll work with at least two levels of lists, using the first level to get to the second level, and then using the second level to get to more detailed information. This is similar to what we did in class with the state information, except that we only had one level. If we had countries and then states or something like states > counties or states > cities, that would match the kind of hierarchy we'll use in this project.

You can use whatever data you want, but it needs to meet these requirements (be sure to add a comment to cite your source if needed):

  1. First level list needs at least 3 items.
  2. All second level lists need to have at least one item. At least one of the second level lists should have more than one item.
  3. The items from the second level lists need at least 4 characteristics to be displayed on a details screen.
  4. The items from the second level lists could use different sets of properties or share the same one(s).

App Requirements

Create a new Android app project with an appropriate name.

Please zip up and submit the source code for your completed app. Please let me know if you have any questions.

Examples

My Favorite Things

Class Schedule

Catalog for a Used Car Lot (made up info)

Music Collection

Genres > Songs > Song Details

Albums > Songs > Song Details

Genres > Albums > Songs > Song Details

Mail App

Accounts > E-mails > E-mail Details