-
Notifications
You must be signed in to change notification settings - Fork 24
@OnUIThread
Arasthel edited this page Aug 21, 2014
·
6 revisions
This annotation will execute the code inside the method on the UI Thread.
@OnUIThread()
public boolean getResult(){...}
// If myVariable declaration is done on the UI Thread
boolean myVariable = getResult();