Last active
August 29, 2015 14:24
-
-
Save Victorgf87/7ab1c97d77b969aa45aa to your computer and use it in GitHub Desktop.
WorkerThread handler creation
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
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