Quantcast
Viewing all articles
Browse latest Browse all 4972

Use index in a ListView delegate

The visible line is wrong. You want:  visible: (index == 0) ? false : true Also, you don’t need to declare your delegate in a component, the delegate just needs to be given a delegate-derived type (i.e. just the Row would work fine)

Viewing all articles
Browse latest Browse all 4972

Trending Articles