Files
NativeScript/apps/ui/app/list-view/item-re-layout-page.xml
Nathan Walker 1e6fccf272 chore: cleanup
2020-07-23 14:03:37 -07:00

16 lines
647 B
XML

<Page loaded="loaded">
<StackLayout>
<ListView items="{{ items }}">
<ListView.itemTemplate>
<StackLayout orientation="horizontal" tap="toggle">
<Label text="{{ text }}" />
<Label text="marked" visibility="{{ selected ? 'visible' : 'collapse' }}" />
<Label text="{{ selected ? 'yep' : 'nope' }}" />
<Label text="test" class="{{ selected ? 'selected' : 'unselected' }}" />
<Label text="{{ selected ? 'yep' : 'nope' }}" class="{{ selected ? 'selected' : 'unselected' }}" />
</StackLayout>
</ListView.itemTemplate>
</ListView>
</StackLayout>
</Page>