UNPKG

alloy

Version:

TiDev Titanium MVC Framework

38 lines (36 loc) 986 B
<Alloy> <TableView id="table"> <!-- proxy properties for the table --> <HeaderView> <View id="headerView"/> </HeaderView> <HeaderPullView> <View id="headerPull"> <Label id="pullLabel">Would be refreshing...</Label> </View> </HeaderPullView> <FooterView> <View id="footerView"/> </FooterView> <TableViewSection headerTitle="section 1"> <TableViewRow title="row 1"/> <TableViewRow title="row 2"/> <TableViewRow title="row 3"/> <TableViewRow title="row 4"/> <TableViewRow title="row 5"/> </TableViewSection> <TableViewSection> <HeaderView> <Label height="30dp" backgroundColor="#ff0">section 2</Label> </HeaderView> <FooterView> <Label height="30dp" backgroundColor="#0ff">the footer</Label> </FooterView> <TableViewRow title="row 1"/> <TableViewRow title="row 2"/> <TableViewRow title="row 3"/> <TableViewRow title="row 4"/> <TableViewRow title="row 5"/> </TableViewSection> </TableView> </Alloy>