How to refresh List in MIDP
While the List is displayed as active Screen and i add more items to list the display is not updated - is there any way to display the appended list items Presently i am displaying alert of refreshing display.
Hi,Are you using more than one threads? (i.e. one for displaying the list and the rest for updating the list) If you are using single threads, the list will update itself upon any changes to it if it is active.Shen Bo
I am using command Thread to update the list and another thread -- which receives data from the server is updating the List -- >
Here i do not see the list update -- from both thread i am calling setTitle -- the effect is reflected on title bar but list is not updated.
To refresh list -- Presently i am displaying alert for refreshing display.
Hi,To overcome the problem, you should make the List object as static while declaring it. By doing so all the instances of the MIDlet share the same List object.goodday,S.M.Reddy.