Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
fredoust
Posts: 75
Registered: ‎09-12-2012
My Device: Looking for a BB10 testing device
My Carrier: Developper
Accepted Solution

detect or change y of a scrollview or listview content

Hi all,

Is it possible to change the y of a scrollview content ? In order to go at the top of the scrollview dynamically.

 

In the same kind of idea, how to detect if the listview content scrolling at it maximum ? in order to download more items for example.

 

I can't find any property or function in the documentation, if someone know...

 

Thanks.

---------
Mobile developer freelance - QtQuick - Cascades - WP7 - Android
My works : http://fdelgado.fr
Please use plain text.
Contributor
nrjg
Posts: 44
Registered: ‎09-14-2012
My Device: BB 10 Dev alpha
My Carrier: -

Re: detect or change y of a scrollview or listview content

I think you can use ScrollView viewableAreaChanged signal in this case.

Please use plain text.
Developer
fredoust
Posts: 75
Registered: ‎09-12-2012
My Device: Looking for a BB10 testing device
My Carrier: Developper

Re: detect or change y of a scrollview or listview content

Thanks for this, I missed the viewableArea property...

Another usefull fonction for my problem : https://developer.blackberry.com/cascades/reference/bb__cascades__scrollview.html#scrolltopoint

---------
Mobile developer freelance - QtQuick - Cascades - WP7 - Android
My works : http://fdelgado.fr
Please use plain text.