I reproduced the bug with this code, which has no header:
import QtQuick 2.2 import QtQuick.XmlListModel 2.0 import Ubuntu.Components 1.3 import Ubuntu.Components.ListItems 1.3 Item { width: units.gu(40) height: units.gu(71) id: page0 ListView { id: view anchors.fill: parent model: 15 delegate: Standard { width: ListView.view.width height: units.gu(5) text: index } onVerticalVelocityChanged: print("vv = "+verticalVelocity) PullToRefresh { id: pullToRefresh onRefreshingChanged: print("refreshing = "+refreshing) onRefresh: { refreshing = true; refreshing = false; } } } }
I reproduced the bug with this code, which has no header:
import QtQuick 2.2 XmlListModel 2.0 Components. ListItems 1.3
anchors. fill: parent
delegate: Standard {
width: ListView.view.width
height: units.gu(5)
text: index
onVertical VelocityChanged : print("vv = "+verticalVelocity)
PullToRefr esh {
onRefreshingC hanged: print("refreshing = "+refreshing)
onRefresh: {
refreshin g = true;
refreshin g = false;
import QtQuick.
import Ubuntu.Components 1.3
import Ubuntu.
Item {
width: units.gu(40)
height: units.gu(71)
id: page0
ListView {
id: view
model: 15
}
id: pullToRefresh
}
}
}
}