如何将 ArrayList 索引 0 值作为参数传递到另一个屏幕请帮助我
int counter=Category_name.size();
if(counter==1)
{
static ArrayList<String> Category_name = new ArrayList<String>();
static ArrayList<String> Menu_ID = new ArrayList<String>();
Intent iMenuList = new Intent(MenuGroup.this, thirdstep.class);
String s = Menu_ID[index0];
String t = Category_name[index0];
iMenuList.putExtra("Menu_ID",s);
iMenuList.putExtra("menu_group", t);
startActivity(iMenuList);
}