0

new to android and I don't know how to display a View after some time. I don't want codes, just want some guidance or resources so I can learn. Already googled it in vain.

Ari
  • 97
  • 1
  • 1
  • 11

1 Answers1

0

You should use handler to post in UI thread . Then set time using postDelayed method of Handler class .

final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
  @Override
  public void run() {
    //Set the text in your textview here
  }
}, TIME_IN_MILLISECONDS);
Rishabh Maurya
  • 1,448
  • 3
  • 22
  • 40