Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Victorgf87
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Victorgf87/7ab1c97d77b969aa45aa to your computer and use it in GitHub Desktop.
Save Victorgf87/7ab1c97d77b969aa45aa to your computer and use it in GitHub Desktop.
WorkerThread handler creation
HandlerThread thread=new HandlerThread("name");
thread.start();
Handler handler=new Handler(thread.getLooper());
handler.post(...);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment