Part 2: Using a Mobile Item Renderer In this section, you define a mobile item renderer for the list of employees. Steps Open EmployeeDirectoryHome.mxml and define an inline itemRenderer for the List. The item renderer displays the first name and the last name of the employee on the first line and the tile of the employee on the second line. Collapse | Copy Code <s:List id="list" top="0" bottom="0" left="0" right="0" dataProvider="{srv.lastResult.list.employee}"> <s:itemRenderer> <fx:Component> <s:MobileIconItemRenderer label="{data.firstName} {data.lastName}" messageField="title"/> </fx:Component> </s:itemRenderer> </s:List>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)