public SimpleListScreen() { super(Manager.NO_VERTICAL_SCROLL); setTitle("Simple List Demo"); add(new LabelField("My list", LabelField.FIELD_HCENTER)); add(new SeparatorField()); Manager mainManager = getMainManager(); SimpleList listField = new SimpleList(mainManager); listField.add("Item 1"); listField.add("Item 2"); listField.add("Item 3"); }
(Manager mainManager = getMainManager();) and NO_VERTICAL_SCROLL in super(Manager.NO_VERTICAL_SCROLL);.
Manager.NO_VERTICAL_SCROLL
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)