Constructor
new ListItem()
Construct a new list item. Later you can either fill it with items, by calling showList(), or fill it with plain text (e.g., as a temporary message like "Loading..." or a message like "No items to show") by calling showText().
Source
Classes
Methods
setSelectable(on)
Switch the mode of this item to permit selecting items (on
true) or not
permit selecting items (on
false). Turning this off removes the
current selection, if there is one.
Parameters
-
on
boolean
truewhether items are selectable