Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. class Hilo extends Thread
  2. {
  3. public void run()
  4. {
  5. try
  6. {
  7. Thread.sleep(2000000000);
  8. MainActivity.boton.setVisibility(View.INVISIBLE);
  9. } catch (InterruptedException e)
  10. {
  11. e.printStackTrace();
  12. }
  13. }
  14. }
  15.  
  16. Hilo ocultar = new Hilo();
  17. ocultar.run();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement