Return to Snippet

Revision: 41929
at February 25, 2011 01:21 by BenClayton


Initial Code
new Handler().postDelayed(new Runnable() { 
                public void run() {
                	myVar.doSomething();
                } 
}, 2000);

Initial URL


Initial Description
Note that variables that you use within the run function must be marked as 'final'

Initial Title
Android: Run a function after a delay

Initial Tags


Initial Language
Objective C