12-28-2012 04:14 AM - edited 12-28-2012 04:15 AM
I have a ListView whom Layout orientation is from Left to Right. I also have set these two properties :
The result is a nice ViewPager like in Android. I would now like to be notified when the user has swiped to a new page.
Unfortunately, none of the signals seems to be emitted when the ListView has gone from item i to item i+1
EDIT : in a short way : I am looking for the equivalent of onCurrentItemChanged that we had in QtQuick
Any idea ?
12-28-2012 10:29 AM
I will try to do it differently
I know how many items I do have in my ListView. I know the width of one item. So I can calculate the total width of the ListView. If I can get access to the scroll position, I can then decide ich item is currently displayed.
Is there a way to know the current scroll position through a signal ?
12-28-2012 10:37 AM - edited 12-28-2012 11:42 AM
EDIT : not working as expected, still looking for a solution
12-29-2012 07:55 AM
If u get the indexpath for the current visible list item in the list view please provide the sample .