private Handler mHandler = new Handler(); private Runnable mUpdateTimeTask = new Runnable() { public void run() { // do what you need to do here after the delay } };
mHandler.postDelayed(mUpdateTimeTask, 2000);
No comments:
Post a Comment