Reputation: 5722
It always draw all focus elements , but it doesnt refresh the others until listfield is scrolled. That's only a problem in Blackberry 4.5 , 5.0 is ok.
I have tried to do the next before draw anything intoe the row :
public void drawListRow(ListField listField, Graphics graphics,int index, int y, int width)
{
listField.invalidate(); //My try
...
}
But it doesn't run .
Update
Ok , no invalidate().
I'll show you my problem better with an Image:
Thanks for reading . Any idea?
Upvotes: 0
Views: 272
Reputation: 8920
What your code snippet will do is every time one row is drawn, invalidate the entire field causing all visible rows to be redrawn, which will invalidate the entire field...
I hope some one at RIM thought of that and aborts the invalidate call. I can't give you any more ideas without more specific information about what you are doing with your user interface.
Upvotes: 1