O'Reilly logo

Kicking Butt with MIDP and MSA: Creating Great Mobile Applications by Jonathan Knudsen

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

8. More User Interface

THE real stars of LCDUI are List and Form. Both classes provide practical interactive displays that are well-suited to small screens. List is just what it sounds like, a simple presentation of text and image items that adapts well to any screen size. Forms can hold a variety of items, everything from text input fields and images to date and time editors. The constraints of a small display mean that complex forms are awkward, but simple forms are very useful.

8.1. Lists

A List shows as many items as it can fit on the display. An item has a text label and can also have an associated image.

Lists come in three varieties, which are represented by constants in the List class:

  • EXCLUSIVE lists allow only one selection. The items ...

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