Hi, it'S me again
i added some items to my ObjectListField. After that i add the ObjectListField to the screen.
Now i've got an email listener. if a new email arrives i want to add the subject of the email to the ObjectListField, ok theres no problem to get the subject but nothing is added to the ObjectListField.
here some peaces of my source:
Code:
public class ActionsScreen extends MainScreen implements FolderListener {
public static ObjectListField myList = new ObjectListField();
//...
public void messagesAdded(FolderEvent e) {
//...
myList.insert(0,"New Message !!");
UiApplication.getUiApplication().invokeLater(new Runnable() {
public void run() {
myList.invalidate();
}
}); no errors in the application but no update of myList.
Can anybody help me again,please?
thanks =)
hibbert