Skip to content

Instantly share code, notes, and snippets.

@akexorcist
Created July 22, 2014 14:45
Show Gist options
  • Save akexorcist/fd8b2469defc9b5875c8 to your computer and use it in GitHub Desktop.
Save akexorcist/fd8b2469defc9b5875c8 to your computer and use it in GitHub Desktop.
All Thread
new Thread(new Runnable() {
public void run() {
}
}).start();
runOnUiThread(new Runnable() {
puclic void run() {
}
});
new Handler().post(new Runnable() {
public void run() {
}
});
new Handler(getContext.getMainLooper()).post(new Runnable() {
public void run() {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment