Skip to content

Instantly share code, notes, and snippets.

@mpaloulack
Created April 11, 2014 14:23
Show Gist options
  • Save mpaloulack/10472995 to your computer and use it in GitHub Desktop.
Save mpaloulack/10472995 to your computer and use it in GitHub Desktop.
Handler ou comment utiliser un timer
Handler mHandler;
Runnable mRunnable = new Runnable() {
@Override
public void run() {
Log.v("Handlers", "Calls");
}
};
mHandler = new Handler();
mHandler.postDelayed(mRunnable, 5000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment