Click here to Skip to main content
14,865,158 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi am very new to learning how to build apps in adobe flash mobile, I have been leaning afew days now.

Am attempting the Flex for Android in 90 Minutes tutoria, and have got stuck on the section where is says...

XML
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>



I understand some of the code, i dont understand where it says, define an inline itemRenderer for the List??

im not sure how to do it... do i need to add some more code?


and could anyone suggest some free adobe mobile ap tutorials?

Thanx you

David
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900