startActivities()和startActivity类似,也是界面跳转:
Intent[] intents = new Intent[2]; intents[0] = new Intent(MainActivity.this, Test01.class); intents[1] = new Intent(MainActivity.this, Test02.class); startActivities(intents); //startActivities(intents,null);//bundle跳转顺序是:由本Activity直接跳转至Test02,返回的时候会经过Test01.
<p>版权声明:本文为博主原创文章,未经博主允许不得转载。</p>