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

Java Development

Reply
New Developer
Keti
Posts: 29
Registered: ‎01-07-2010
My Device: Torch 9800

How to highlight the entire row in RichList?

Hello,

 

I'm using SDK 6.0 and I have a RichList with image and labels.

 

         RichList list = new RichList(mainManager, true, 2, 1);
         ..............
      
         // Add data to the RichList
         list.add(new Object[] {bitmap, firstName, lastName, company});
        ...............

 

The problem is that I can select each label separately. I cannot select/highlight the entire row.

I would like to get the similar list as in the examples below:

 

3061iDFEDEA7B8C99CD20

 

Any ideas how to achieve this?

Thanks.

 

Contributor
kurmasz
Posts: 11
Registered: ‎09-30-2010
My Device: Not Specified

Re: How to highlight the entire row in RichList?

For what it's worth, I'm having the same problem.

New Developer
Keti
Posts: 29
Registered: ‎01-07-2010
My Device: Torch 9800

Re: How to highlight the entire row in RichList?

Well, I couldn't make it work with the RichList.

 

What I did - I created custom class extending ListField class, override its ListFieldCallback and got the result I wanted.

Developer
TJBeanz
Posts: 39
Registered: ‎06-22-2009
My Device: Torch (9800), Bold (9930)

Re: How to highlight the entire row in RichList?

That really defeats the purpose of having the RichList.  Can anyone shed light on how to get it to look like their examples?

----------------------------------------------------------------------------------
Click "Accept as Solution" if this post was what you needed.
Give kudos by clicking on the star icon to say "Thanks!" if you feel this response is helpful.