Created
April 3, 2016 13:35
-
-
Save orhanobut/27364e06865973ad934fb00e49a89b49 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Thread thread = new Thread(new Runnable() { | |
@Override public void run() { | |
// your long task | |
textView.setText("Task 4 Result"); //update view | |
} | |
}); | |
thread.start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment