Created
June 26, 2010 08:49
-
-
Save reflog/453910 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getApplication().addGlobalEventListener(this); | |
public void eventOccurred(long guid, int data0, int data1, Object object0, | |
Object object1) { | |
if(guid != Main.NOTIFICATIONS_ID_1) return; | |
Utils.log("db changed, reloading list"); | |
UiApplication.getUiApplication().invokeLater(new Runnable() { | |
public void run() { | |
try { | |
listField.updateList(); | |
}catch(Throwable z){ | |
} | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment