05-29-2009 01:38 AM
I have implemented my own Manager class and overridden its scrollChanged() method. And I have a mainscreen class that has this custom manager as its child field. The manager class has some bitmaps and label fields.
Now, upon scrollChanged, I wish that the manager updates itself along with all of its children fields. I am trying it by calling manager.invalidate() method but it only updates the scroll position, it does NOT redraw / updates the bitmaps and label fields contained by the manager class.
How can I achive this ?
Solved! Go to Solution.
06-05-2009 12:47 AM
Just to let you guys know that my query is solved. I over-rode the invalidate() methods of my MainScreen and Manager Class. And whenever I wanted to refresh my screen, I used :
This resulted in calling the invalidate method of the mainscreen class; which in turn called the invaildate() method of my manager class.
I am still thankful to all u people :-)