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


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.


Reply
Developer
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!

Highlighted
Retired
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?

Developer
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.
Developer
Posts: 136
Registered: ‎01-25-2010
My Device: Z30, Z10, Q10, 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 Smiley Happy

Developer
Posts: 65
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.