[SOLVED] Detect "Scrolled to bottom"
QML and Qt Quick
1
Posts
1
Posters
688
Views
1
Watching
-
I have a GridView that contains a bunch of images. I would like to start loading more images as soon as the user scrolls to the bottom. How do you detect that the user has scrolled to the bottom?
Edit: I managed to find the answer on my own. The functionality is available in the Flickable element, inherited by GridView. Basically, we combine the onMovementEnded signal with the atYEnd property. The solution looks like this:
@
onMovementEnded: {
if (atYEnd) {
// Scrolled to the bottom
}
}
@