Represents displayed item data.
In addition to the properties defined below, you can define custom key-value pairs, which bind to
the child templates of an ItemTemplate. The key for these pairs match the bindId
of
the child view templates and the values are a dictionary of view properties applied to the view components.
Any other properties that are not identified by a bindId
are permitted but are ignored by the item template.
See Titanium.UI.ListItem for examples of using a list data item.
NOTE This is an abstract type. Any object meeting this description can be used where this type is used.
Contains key-value pairs of view properties and their values that are applied to the
ListItem
.
Contains key-value pairs of view properties and their values that are applied to the
ListItem
.
If there are properties set in the ItemTemplate (not the children view templates), the values set in the list data item override the template's properties.
Template ID configured with the Titanium.UI.ListView.templates property or Titanium.UI.LIST_ITEM_TEMPLATE_DEFAULT.
On iOS, you can specify one of the following pre-defined templates: Titanium.UI.LIST_ITEM_TEMPLATE_CONTACTS, Titanium.UI.LIST_ITEM_TEMPLATE_SETTINGS or Titanium.UI.LIST_ITEM_TEMPLATE_SUBTITLE.
Default: If the ListView's `defaultItemTemplate` property is not set, then Titanium.UI.LIST_ITEM_TEMPLATE_DEFAULT is used.