new Handler().postDelayed() 延迟intent跳转

  1. 原文地址http://blog.csdn.net/x605940745/article/details/19401549
  2. new Handler().postDelayed(new Runnable() {  
  3.       
  4.     @Override  
  5.     public void run() {  
  6.         Intent  intent=new Intent(MainActivity.this, Leansons.class);  
  7.         startActivity(intent);    
  8.     }  
  9. }, 2000);  
posted @ 2015-05-18 14:35  guoliuya  阅读(757)  评论(0编辑  收藏  举报