Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to get refresh signal at the end of scrolling page using GridView



  • Hi how to use VisibilityRefreshHandler (Felgo library) with GridView .As i understood it is related to
    ListView , so what is equivalent of VisibilityRefreshHandler for GridView. What i want is to get for example some refresh signal to know when user scrolled to the end of page and load new piece of date.



  • Here is the answer. Need to use movementEnded() signal. I also found atYEnd property. This property is true if the flickable view is positioned at the end exactly what i need. SO here is my code how i managed it

    GridView
    {
        onMovementEnded:
        {
    
            if(atYEnd )
            {
               logic.getImages()
            }
        }
     }
    

Log in to reply