intent传list集合

ArrayList<Good> list=new ArrayList<Good>();

Intent intent = new Intent(MainActivity.this,InfoActivity.class);
  intent.putExtra("list", list);               
startActivity(intent);

Intent intent = getIntent();

ArrayList<Good> list= (ArrayList<Good>) intent.getSerializableExtra("list");
原文地址:https://www.cnblogs.com/123p/p/5403627.html