How can I create a Collection of ListModel
Each list ListModel
conatains 5 ListElement
ListModel{
ListElement {
type:"1"
title:"5:03pm"
description:"text-1"
isLoaded: false
}
ListElement {
type:"1"
title:"5:03pm"
description:"text-1"
isLoaded: false
}
ListElement {
type:"1"
title:"5:03pm"
description:"text-1"
isLoaded: false
}
ListElement {
type:"1"
title:"5:03pm"
description:"text-1"
isLoaded: false
}
ListElement {
type:"1"
title:"5:03pm"
description:"text-1"
isLoaded: false
}
}
One model is like this . I want to create a qml with 2 or 3 ListModel
collection
How can I create the collection.
Edit: I want to create the Collection of models dynamically. Each list model contains maximum 5 elements. once it reaches count 5 then I need to create another ListModel with elements. And so on.