new Handler().postDelayed() 延迟intent跳转
- 原文地址http://blog.csdn.net/x605940745/article/details/19401549
- new Handler().postDelayed(new Runnable() {
- @Override
- public void run() {
- Intent intent=new Intent(MainActivity.this, Leansons.class);
- startActivity(intent);
- }
- }, 2000);