Scrolling in the same direction within a Flickable inside a ListView
Unsolved
QML and Qt Quick
-
So I have got a
ListView
with a delegate that contains aFlickable
(Page{Flickable{}}
). So the delegate is made up of an image and a text that are meant to scrolled up vertically and theListView
is also vertical. What I want to achieve is when the user reaches the end of theFlickable
, it should be able to still swipe up and switch to the next element in the list (in the same way, when at top swipe down to go to the previous element in theListView
). How can I achieve this? -
I've not done it but could you use:
http://doc.qt.io/qt-5/qml-qtquick-flickable.html#verticalOvershoot-prop
and ++ || -- on
http://doc.qt.io/qt-5/qml-qtquick-listview.html#currentIndex-prop
?Not sure if that's "how it's done" but that's how I'd be thinking.