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: 188
Registered: ‎09-03-2012
My Device: Blackberry 10

Display 2 list views in a page problem (display one and then another)

I have 2 list views on the page. Each with around 20 items.

 

I would like to be able to scroll through all of the items in first list view first, before showing the second list views. This is similar to Blackberry OS 6 - which allow display items one by one instead of evening out the space.

 

Somehow Blackberry 10 split the 2 list views and headers so you will see all on the screen insteads of showing all items in the first list view then let user scrolls to second list view.

 

Could you please help? Thanks!

 

----------------

 

Code structure:


Header {

     title: "First list"

}

ListView { id: listView1 ...}

Header {

     title: "Second list"

}

ListView { id: listView2 ...}

Developer
Posts: 188
Registered: ‎09-03-2012
My Device: Blackberry 10

Re: Display 2 list views in a page problem (display one and then another)

Sorry for trying to pump it. Just wondering if anyone tried 2 list views and able to get around this issue?

Thanks!
Developer
Posts: 112
Registered: ‎10-10-2010
My Device: Torch
My Carrier: Verizon

Re: Display 2 list views in a page problem (display one and then another)

I've had the same issue before. I tried populating the second list by the selection of the first list. I was never able to get it error free on my machine yet working fine on the alpha device.

 

Do a search for "populating" from a thread I started several months back. There's a  sample app of it working from danielrr5. Hopefully it helps you out.

 

 

______________________________________________
Android dev jumping ship to BB. Cascade newbie. Any help would be great. Miss the Visual Basic days.

Updated my pin
Highlighted
Developer
Posts: 188
Registered: ‎09-03-2012
My Device: Blackberry 10

Re: Display 2 list views in a page problem (display one and then another)

Hi Cozz,

I am able to populate without a problem. The problem is the screen automatically divides space between the two lists without listing all items of the list first before letting user scroll to second list.