Skip to content

Instantly share code, notes, and snippets.

@nalitzis
Created December 23, 2012 21:48
Show Gist options
  • Select an option

  • Save nalitzis/4366327 to your computer and use it in GitHub Desktop.

Select an option

Save nalitzis/4366327 to your computer and use it in GitHub Desktop.
static class MyHandler extends Handler{
public void handleMessage(Message msg){
Log.d(TAG, Thread.currentThread().getName()+", "+ msg.obj.toString());
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment