Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
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 .