Skip to content

Instantly share code, notes, and snippets.

@shikto1
Last active January 11, 2020 06:08
Show Gist options
  • Save shikto1/e9657bea4499d7f2d8d301b9518da86d to your computer and use it in GitHub Desktop.
Save shikto1/e9657bea4499d7f2d8d301b9518da86d to your computer and use it in GitHub Desktop.
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
// do abc long 5s or so
}
}, 10000); // run "do abc" after 10s. It same as timer, thread...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment