O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

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

Exercises

1. Add the contact’s cell phone number to the complex list. The list should display the contact name on the first line and Home:the number Cell:the number on the second line.

2. Add another line to the list so that the list displays

Contact Name

Street Address, City, State, ZIP,

Phone number

3. Modify the custom adapter to alternately display the contact name in red and blue. For example, the first name in the list will be red, the second will be blue, the third is red, and so on.

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