[SOLVED] Detect "Scrolled to bottom"



  • 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
    }
    }
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.