Created
March 29, 2013 21:07
-
-
Save jwhitehorn/5273652 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
@Override | |
public boolean onCreateOptionsMenu(Menu menu) { | |
AsyncTask<Object, Void, Object> worker = new AsyncTask<Object, Void, Object>(){ | |
@Override | |
protected Object doInBackground(Object... args) { | |
//do something | |
return something; | |
} | |
protected void onPostExecute(Object result) { | |
//update the UI.... somehow? | |
} | |
}; | |
worker.execute(new Object[]{argument}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment