Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Delay the UI
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