When using listview to display millions of data, the spacing will become larger and smaller.
-
import QtQuick 2.0 import QtGraphicalEffects 1.0 Item { width: 1000 height: 1000 MouseArea { anchors.fill: parent onClicked: { testListView.positionViewAtEnd() } } ListView { id:testListView width: 500 height: 600 model: 1000000 delegate: listViewDelegate } Component { id:listViewDelegate Rectangle { width: 500 height: 100 color: "red" Text { text: index anchors.centerIn: parent } } } }There is a problem when running the above code, how should I solve this problem.