Different delegates for a listview
I want to make a Qml listview with different delegates(as in windows 8 for example) with different shapes. Is this possible in qml? thanks for helping.
Yes, two ways that I can think of are:
- Have a conditional in the "delegate:" of the list view to allow it to select there.
- A single delegate, but this then uses a loader to pull in the correct component
Hope this helps
Thanks for help. The first idea looks promising.