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: 68
Registered: ‎07-21-2008
My Device: Not Specified

problem in list scrolling?

I am developing one ListField for displaying Two and four lines of text. For selcted row I am displaying two lines and foe Non selected rows, two lines. I have taken one vertical filed manager and overrided its paint method to apply the background.

For the first time means for first four rows its working fine. But after that background is not coming for the ListRows.


Can u please any one tell me how background will be applied for whole list Items?

Posts: 507
Registered: ‎07-15-2008
My Device: Not Specified

Re: problem in list scrolling?

[ Edited ]

Set background in drawListRow() method of ListFieldCallback instance.


Do not change paint() method. Use drawListRow() instead.

Message Edited by rafo on 09-02-2008 04:21 PM
if your issue solved set "Solution" mark at the relevant post