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
Posts: 237
Registered: ‎11-24-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: Telkomsel

ListView on ListView Item

Hi I want to add a ListView in an item of listView, is that possible?

 

How to access inner ListItemData ?

 

 

Thanks

Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: ListView on ListView Item

Highly unlikely. This would probably break scrolling.

Outer ListItemData can be accessed using any of the usual methods, like declaring a JS function on the ListView level and calling it as topItemOfListItemComponent.ListItem.view.getOuterListItemData(), but I guess this whole pattern won't work.

Andrey Fidrya, @zmeyc on twitter
Developer
Posts: 237
Registered: ‎11-24-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: Telkomsel

Re: ListView on ListView Item

Hi, because I have a page / whole screen that is an item listView (with leftToRight orientation) so can swipe right / left to prev / next page.

 

But I want to add a ListView on that page.

Already try to add but still cannot access the data.

 

Might someone already try it? Any suggestion?

 

Thanks