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

Java Development

Posts: 10
Registered: ‎11-28-2012
My Device: Bold 9900
My Carrier: Airtel

How to implement a expandable list view?

Hi all,


I am facing some problems with expandable list view in my blackberry application. Can anyone help??


Thanks in advance

Smiley Happy

Posts: 17,012
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to implement a expandable list view?

there is no component out of the box for that.
You could:
- use a Treefield
- insert listitems into an objectlistfield and paint them differently, for example with indentation
- add a new listfield
- open the item in a new screen
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: How to implement a expandable list view?

[ Edited ]

What problem you are facing. There is multiple ways by which we can implementation. I have implemented this by adding and removing the manager on click event.  (Parent in one manager and Child are in different manger. Add and remove child on onClick)

 Or use the combination of listfield and treefield



Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.