If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
jmoukel
Posts: 111
Registered: ‎07-05-2012
My Device: none
My Carrier: MOvistar

BB10: Infinite Scroll on ScrollView

Hi guys,

 

as the title says, I got an infinite scroll inside my ScrollView.

 

I tried fixing the preferredHeight (an also minHeight) to the height of the screen, but then (as the scrollview content is bigger than the screen height) everything shrink to fit the screen height.

 

I just want the ScrollView limits to be its content limits.

 

Any ideas?

 

Thanks!

Please use plain text.
BlackBerry Development Advisor (Retired)
erahnenfuehrer
Posts: 85
Registered: ‎05-25-2012
My Device: Limited Edition Z10
My Carrier: Bell

Re: BB10: Infinite Scroll on ScrollView

Do you have a listview in a scrollview?  If so, that is a known bug.  If not, can you share a code sample?

Please use plain text.
Developer
jmoukel
Posts: 111
Registered: ‎07-05-2012
My Device: none
My Carrier: MOvistar

Re: BB10: Infinite Scroll on ScrollView

Hi,

when the problem arose, I didn't have any listview inside the scrollview. Now I do have a listview inside it.

Is there any workaround to solve that listview-scrollview bug?

The problem is that, inside the scrollview, I also have other controls beside the listview.
Please use plain text.
Developer
joelajean
Posts: 124
Registered: ‎01-25-2010
My Device: Z10, Dev Alpha B & Bold 9900
My Carrier: Bell

Re: BB10: Infinite Scroll on ScrollView

I had the same issue... I hide and display the components has per requirements and it did fix my issue... Not certain if this temp fix applies to your case or not :smileyhappy:

Please use plain text.
Developer
ankursahu19
Posts: 62
Registered: ‎03-20-2013
My Device: Z10(Red Limited Edition)
My Carrier: MY COMPANY

Re: BB10: Infinite Scroll on ScrollView

if you are using container with stacklayout and also set spacequota then scrollview will scroll infinite So removing this spacequota and fix this problem.

Please use plain text.