Created
April 6, 2019 11:51
-
-
Save magdamiu/1a393958ca285fcd589778daf2eed05b to your computer and use it in GitHub Desktop.
Delay the UI
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
new Handler().postDelayed(new Runnable() { | |
@Override public void run() { | |
// do what you want to do | |
} | |
}, 4000); // Delay in millis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment