Revision control

Copy as Markdown

import QtQuick
Rectangle {
width: 640
height: 480
ListView {
anchors.fill: parent
spacing: 5
footerPositioning: ListView.PullBackFooter
footer: Rectangle { width: ListView.view.width; color: "blue"; implicitHeight: 46 }
model: 3 // crashed if less items than a full list page
delegate: Rectangle {
width: ListView.view.width
height: 50
color: index % 2 ? "black" : "gray"
}
}
}