Created
April 11, 2014 14:23
-
-
Save mpaloulack/10472995 to your computer and use it in GitHub Desktop.
Handler ou comment utiliser un timer
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
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