Solved How to get refresh signal at the end of scrolling page using GridView
-
Hi how to use
VisibilityRefreshHandler
(Felgo library) withGridView
.As i understood it is related to
ListView
, so what is equivalent ofVisibilityRefreshHandler
forGridView
. What i want is to get for example somerefresh 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() } } }