-
-
Save FokkeZB/26fddff57fb985ec9963 to your computer and use it in GitHub Desktop.
TableView vs ListView on Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Alloy> | |
<TabGroup> | |
<Tab title="TableView"> | |
<Window title="TableView"> | |
<TableView> | |
<TableViewSection headerTitle="Section"> | |
<TableViewRow title="My Title" hasCheck="true" /> | |
<TableViewRow title="My Title" hasChild="true" /> | |
<TableViewRow title="My Title" hasDetail="true" /> | |
</TableViewSection> | |
<TableViewSection headerTitle="Section"> | |
<TableViewRow title="My Title" hasCheck="true" /> | |
<TableViewRow title="My Title" hasChild="true" /> | |
<TableViewRow title="My Title" hasDetail="true" /> | |
</TableViewSection> | |
</TableView> | |
</Window> | |
</Tab> | |
<Tab title="ListView"> | |
<Window title="ListView"> | |
<ListView> | |
<ListSection headerTitle="Section"> | |
<ListItem title="My Title" accessoryType="Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK" /> | |
<ListItem title="My Title" accessoryType="Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE" /> | |
<ListItem title="My Title" accessoryType="Ti.UI.LIST_ACCESSORY_TYPE_DETAIL" /> | |
</ListSection> | |
<ListSection headerTitle="Section"> | |
<ListItem title="My Title" accessoryType="Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK" /> | |
<ListItem title="My Title" accessoryType="Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE" /> | |
<ListItem title="My Title" accessoryType="Ti.UI.LIST_ACCESSORY_TYPE_DETAIL" /> | |
</ListSection> | |
</ListView> | |
</Window> | |
</Tab> | |
</TabGroup> | |
</Alloy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment