Updating UI on button click after a certain time

view story

http://stackoverflow.com – I have a TextView. I want to update its text (append a "1") after 1 second of a button click. public class HaikuDisplay extends Activity { Method m; Timer t; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); t = new Timer(); m = HaikuDisplay.class.getMethod("change"); } //Event handler of the button public void onRefresh(View view) { //To have the reference of this inside the TimerTask (HowTos)