Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to get refresh signal at the end of scrolling page using GridView
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 240 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CubeEd
    wrote on last edited by CubeEd
    #1

    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.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      CubeEd
      wrote on last edited by
      #2

      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()
              }
          }
       }
      
      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved