赞
踩
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.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。