This question is locked. New answers and comments are not allowed.
Similar to what is documented in the base ListView - but doesn't seem to work.
This is NS w/o Angular.
<
ListView
items
=
"{{ myItems }}"
itemTemplateSelector="age > 18 ? 'green' : 'red'">
<
ListView.itemTemplates
>
<
template
key
=
"green"
>
<
Label
text
=
"{{ age }}"
style.backgroundColor
=
"green"
/>
</
template
>
<
template
key
=
"red"
>
<
Label
text
=
"{{ age }}"
style.backgroundColor
=
"red"
/>
</
template
>
</
ListView.itemTemplates
>
</
ListView
>