I am trying to implement effects like here: https://www.google.com/design/spec/patterns/swipe-to-refresh.html
So I need the information, when the user drags the contents of a flickable away from the boundaries, but I do not want the flickable to display the gap (there should be no gap between the content and the border of the flickable).
All examples I could find use the "contentY" property of the flickable to determine the overshooting. If it is negativ, there is a boundary between the flickable border and the content .
But to prevent the visual gap, I set boundsBehavior: Flickable.StopAtBounds
, which I will prevent contentY from ever getting negative, disallowing me to detect the dragging.
So how can this be done in QML?