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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
ravindrakamble
Posts: 68
Registered: ‎07-21-2008

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?

Please use plain text.
Developer
rafo
Posts: 507
Registered: ‎07-15-2008

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
Please use plain text.